Here are 100 useful Linux commands grouped by categories for clarity. These are essential for system administrators, developers, and Linux power users.

🗂️ File and Directory Management

  1. ls – List directory contents
  2. cd – Change directory
  3. pwd – Print working directory
  4. mkdir – Create a directory
  5. rmdir – Remove a directory
  6. rm – Remove files or directories
  7. cp – Copy files and directories
  8. mv – Move/rename files and directories
  9. touch – Create empty file
  10. find – Find files and directories
  11. locate – Quickly find files using database
  12. updatedb – Update locate database
  13. stat – Display file status
  14. file – Determine file type
  15. basename – Extract filename from path
  16. dirname – Extract directory from path
  17. tree – Display directory structure as a tree
  18. readlink – Follow symlinks
  19. realpath – Get absolute path of file
  20. du – Disk usage of files/directories

📑 Text Processing

  1. cat – Concatenate and display files
  2. tac – Display file in reverse
  3. more – View file one page at a time
  4. less – Advanced file pager
  5. head – Show first lines of file
  6. tail – Show last lines of file
  7. cut – Cut sections from lines
  8. sort – Sort lines of text
  9. uniq – Filter duplicate lines
  10. wc – Word, line, byte count
  11. grep – Search with regular expressions
  12. egrep – Extended grep
  13. awk – Pattern scanning and processing
  14. sed – Stream editor
  15. tr – Translate/replace characters
  16. strings – Extract printable strings from binary files
  17. diff – Compare file contents
  18. cmp – Compare two files byte-by-byte
  19. nl – Number lines
  20. tee – Redirect output to file and stdout

⚙️ Process Management

  1. ps – Process status
  2. top – Real-time system monitoring
  3. htop – Interactive process viewer
  4. nice – Start process with priority
  5. renice – Change priority of running process
  6. kill – Send signal to process
  7. killall – Kill by name
  8. pkill – Pattern kill
  9. jobs – Show background jobs
  10. fg – Bring background job to foreground
  11. bg – Resume background job
  12. xargs – Build and execute command lines from input

🔧 User Management

  1. id – Display UID and GID
  2. who – Who is logged in
  3. whoami – Current user
  4. users – List logged in users
  5. adduser – Add user (Debian)
  6. useradd – Add user
  7. usermod – Modify user
  8. userdel – Delete user
  9. passwd – Change password
  10. groupadd – Add group
  11. groupdel – Delete group
  12. groups – Show user's groups
  13. chage – User password aging info

🔒 Permissions and Ownership

  1. chmod – Change file permissions
  2. chown – Change file owner
  3. chgrp – Change group ownership
  4. umask – Default permission mask
  5. ls -l – Detailed permissions listing
  6. getfacl – View Access Control Lists
  7. setfacl – Set ACLs

📦 Package Management

(For Fedora/RHEL-based systems)
73. dnf install – Install package
74. dnf remove – Remove package
75. dnf search – Search for package
76. dnf update – Update packages
77. dnf list installed – Show installed packages

(For Debian/Ubuntu-based systems)
78. apt update – Update package lists
79. apt upgrade – Upgrade installed packages
80. apt install – Install package
81. dpkg -i – Install a .deb package
82. dpkg -l – List installed packages

🌐 Networking

  1. ip a – Show IP addresses
  2. ip r – Show routing table
  3. ping – Check host availability
  4. traceroute – Trace path to host
  5. dig – DNS lookup
  6. nslookup – DNS query tool
  7. netstat – Network connections (deprecated)
  8. ss – Socket statistics
  9. nmap – Network scanner
  10. curl – Transfer data from URLs
  11. wget – Download files from web
  12. scp – Secure file copy
  13. rsync – File synchronization tool

🛡️ System Services and Boot

  1. systemctl – Manage systemd services
  2. journalctl – View logs
  3. shutdown – Halt system
  4. reboot – Reboot system
  5. at – Schedule one-time jobs
  6. crontab – Schedule recurring jobs
{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>