Most frequently used Linux Commands

There are hundreds of commands in Linux. But we use only few of them on regular basis. Let us see most frequently used commands.

  1. ls - to list the files
  2. mkdir and cd - to make a new directory and traverse to directories
  3. cp, mv, rm - to copy. move and delete files and directories
  4. cat - to show file contents
  5. chmod and chown - to change the permissions and owner of the files and directories
  6. pwd - to see present working directory
  7. ps - to get process information
  8. df and du - to get free disk space and disk usage statistics
  9. kill - to kill the process
  10. head and tail - to see the file contents from top or bottom
  11. ifconfig - to see the ip address and network card details
  12. uname - to get system info
  13. man, which, whereis - to get command syntax info and details
  14. export - to set the environment variable
  15. tar - to archive and extract .tar files
  16. grep - to find the pattern in file or text
  17. find - to find the files
  18. grep - to find the pattern in file or text
  19. ssh - to connect to remote host using SSH
  20. vim - to create or edit text files
  21. sed - to replace the matched pattern
  22. awk - to process the records
  23. crontab - to work with cron jobs. Comments can be added in cron file using # symbol. "errors in crontab file, can't install" this error means you have syntax error in cron expression. You can find the cron log - sudo grep "php" /var/log/cron
Youtube | Facebook | Twitter | Website Home | Online Grocery Shopping Brisbane