Sep 04 2017

Enable ssh on Ubuntu. Setup ssh server

Category: administrative tools,networkingadmin @ 7:03 pm

The following commands allow to enable ssh on your Ubuntu machine.

sudo apt-get update
sudo apt-get install openssh-server

Once ssh is set up you will be able to connect using an ssh client and also using tools like WinSCP


Jun 01 2017

Extract lines with different expressions from text files

Category: text parsingadmin @ 6:15 pm

Here is the Linux command to extract lines that contain more than one expression

The example below will only extract lines that contain “Source:” and “CustomEvent:”  in file MyLogFile.log

egrep "Source:|CustomEvent:" MyLogFile.log

Dec 12 2015

Dual booting: Graphical tool to edit the Grub menu in Lubuntu

Category: administrative toolsadmin @ 1:16 pm

I have found a tool that allows to customize and then save Grub menu changes such as:

1) Which operating system loads by default

2) The amount of time the startup prompt option takes before starting automatically

This is usually the first customization task I need to do whenever I dual boot Linux and Windows.

The graphical tool’s name is grub-customizer and it is available from an Ubuntu ppa repository.  The developer’s profile is here

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

sudo apt-get update

sudo apt-get install grub-customizer


Next Page »