100 Most-Used Linux Commands You Should Know

Here is a list of 100 commonly used Linux commands:

  1. ls – list directory contents
  2. cd – change the current working directory
  3. pwd – print the current working directory
  4. mkdir – make a new directory
  5. touch – create a new file
  6. rm – remove a file
  7. rmdir – remove an empty directory
  8. cp – copy files or directories
  9. mv – move or rename files and directories
  10. cat – concatenate and display files
  11. less – view the contents of a file page by page
  12. head – display the first few lines of a file
  13. tail – display the last few lines of a file
  14. grep – search for a pattern in a file or output
  15. find – search for files and directories
  16. tar – create and extract compressed archives
  17. gzip – compress files
  18. gunzip – uncompress files
  19. chmod – change the permissions of a file or directory
  20. chown – change the ownership of a file or directory
  21. ps – display information about running processes
  22. top – display real-time system resource usage
  23. kill – send a signal to a process to terminate it
  24. ping – test network connectivity
  25. ifconfig – display network interface configuration
  26. netstat – display network connections and statistics
  27. route – display and modify the routing table
  28. scp – copy files securely over a network
  29. ssh – connect to a remote server securely
  30. rsync – synchronize files between directories or systems
  31. mount – mount a file system
  32. umount – unmount a file system
  33. du – display disk usage of files and directories
  34. df – display free disk space
  35. free – display free memory
  36. uptime – display how long the system has been running
  37. who – display logged in users
  38. useradd – add a new user account
  39. passwd – change user passwords
  40. su – switch to a different user account
  41. sudo – execute a command with elevated privileges
  42. tar – create and extract compressed archives
  43. unzip – extract compressed archives
  44. which – display the location of an executable
  45. man – display the manual for a command
  46. history – display command history
  47. clear – clear the terminal screen
  48. echo – display a message
  49. tee – write output to a file and the terminal
  50. date – display or set the system date and time
  51. sleep – suspend execution for a specified time
  52. xargs – execute a command with arguments from standard input
  53. sed – stream editor for filtering and transforming text
  54. awk – pattern scanning and processing language
  55. cut – extract fields or columns from a file
  56. diff – display differences between two files
  57. patch – apply a patch to a file
  58. tailf – follow the end of a log file in real-time
  59. tee – write output to a file and the terminal
  60. tar – create and extract compressed archives
  61. tr – translate or delete characters
  62. curl – transfer data from or to a server
  63. wget – download files from the internet
  64. lsof – list open files
  65. nc – listen to or send data over a network connection
  66. nmap – network exploration and security auditing tool
  67. tcpdump – capture and analyze network traffic
  68. iptables – manipulate firewall rules
  69. service – manage system services
  70. systemctl – control the systemd system and service manager
  71. journalctl – query and display logs from the systemd journal
  72. chroot – run a command or shell in a new root directory
  73. crontab – schedule a command or script to run at specified intervals
  74. at – execute a command at a specified time
  75. screen – multiplex a terminal session
  76. tmux – terminal multiplexer with advanced features
  77. ncdu – visualize disk usage
  78. htop – interactive process viewer
  79. iotop – monitor I/O usage of processes
  80. lshw – list hardware configuration
  81. lspci – list PCI devices
  82. lsusb – list USB devices
  83. hwinfo – list hardware information
  84. uname – display system information
  85. hostname – display or set the hostname
  86. ifup – bring a network interface up
  87. ifdown – bring a network interface down
  88. iptables – manipulate firewall rules
  89. tcpdump – capture and analyze network traffic
  90. nmap – network exploration and security auditing tool
  91. ping6 – test network connectivity over IPv6
  92. ssh-keygen – generate SSH keys for secure authentication
  93. ssh-copy-id – copy SSH keys to a remote host for passwordless authentication
  94. dig – query DNS information
  95. nslookup – query DNS information
  96. route – display and modify the routing table
  97. traceroute – trace the path packets take across a network
  98. route add – add a route to the routing table
  99. route delete – delete a route from the routing table
  100. route flush – remove all routes from the routing table

Note: The availability of some commands may depend on the Linux distribution and version being used.