Command Line Tips
Here is some of command line tricks that can help you a lot. I am working on this post So you will get more and more... 1.) Using vim to see Calender of two years in single window. #vim -O <(cal 2011) <(cal 2012) Here -O Open one window for each file. 2.) ifconfig eth0;sleep 60;ifconfig eth0)|grep "RX bytes" # Pass two runs of ifconfig 60 seconds apart through the same grep using a subshell. [root@server2 ~]#(ifconfig eth0;sleep 60;ifconfig eth0)|grep "RX bytes" RX bytes:332299170 (316.9 MiB) TX bytes:21752930 (20.7 MiB) RX bytes:337602454 (321.9 MiB) TX bytes:21927669 (20.9 MiB 3.) Here is One line coding for getting status of all init.d scripts(services) and store result in a file root@primary ~] for i in /etc/init.d/*; do echo -e $i status:; echo -e "\t";$i status ;echo -e "\n"; done > ~/daemon_status_list ...