My Top Ten Linux Commands of all Time:
# ps - Process status. Comes with a lot of options eg: 'ps -ef' and 'ps -l'
# man - Manual of commands. Very useful for quick reference on commands. eg: man -f <cmd>
# find - Finds files by names, file type, modify time etc. eg: find . -name <filename>
# grep - Searches regular expressions in files. eg: grep <search criterion> <filename>
# vim - Visual editor improved. Indispensable for shell scripting.eg: vim <shell script>
# who - Tells who is logged in.
# w - Similar to who but more detailed.
# uname - info about the system, OS, kernel version etc. eg: uname -r, uname -a
# ping - Sends an ICMP packet to check basic network connectivity. eg: ping <remotehost>
# mailx - inbuilt mail agent. Very useful in sending notifications and alerts esp from shell scripts.
- eg: # mailx -s "subject" recipient1, recipient2,.. < message body
No comments:
Post a Comment