Archive for March, 2016

If you haven’t tried out Nano editior in linux, please give it a go! It’s brilliant.

Here’s how to search within the file:

 

Ctrl + W is the shortcut for searching. After entering the search term, press Enter. To repeat the search, issue Alt + W. In this menu, you can select earlier searches using the arrow up/ down keys.

To toggle backwards searching, you need to press Alt + B in the search dialog.

For more shortcuts, press F1

 

Happy Searching!

To restart Apache from the command line from a Amazon EC2 Instance simply type:

In case you get “permission denied” errors, you should try adding a sudo in front of the line, e.g.:

sudo /sbin/service httpd restart

These commands are no different. If you remember anything from your linux days. Just don’t be afraid and try it out.