Day: March 10, 2016

  • Search for text within nano in linux

    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 […]

  • RESTARTING APACHE ON EC2

    To restart Apache from the command line from a Amazon EC2 Instance simply type: /sbin/service httpd restart 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 […]