Debian - Creating SSH aliases (Easy SSH) October 28, 2011 Open file ~/.ssh/config vi ~/.ssh/config Write in config file Host aliasname HostName yourdomain.com User yourusername and save. Read more
Check a package is installed in Debian machine October 27, 2011 dpkg -l| grep xyz (English alphabet l and pipe) eg: dpkg -l| grep mysql Read more
Search for files October 27, 2011 grep -lir "search string" <path> eg: grep -lir "hello world" /home/myhome/ Read more
Remove ^M characters October 27, 2011 open file in vi and type :%s/(ctrl-v)(ctrl-m)//g and press enter key Read more
Realtime output (execution) of a file October 27, 2011 tail -f filename eg: tail -f test.txt Read more