Here’s a well-organized list of 100 Linux commands, from basic to advanced
1. ls - List directory contents
2. ls -l - Long listing with permissions
3. ls -a - Show hidden files
4. cd - Change directory
5. pwd - Print working directory
6. mkdir - Make new directory
7. rmdir - Remove empty directory
8. rm -r - Remove directory recursively
9. rm file - Remove file
10. cp file1 file2 - Copy file
11. mv file1 file2 - Move or rename file
12. touch filename - Create empty file
13. cat filename - View file contents
14. more filename - View file (paged)
15. less filename - View file (better paging)
16. head filename - Show first 10 lines
17. tail filename - Show last 10 lines
18. tail -f filename - Follow appended data
19. echo "text" - Print text
20. nano filename - Simple text editor
21. chmod 755 file - Change permissions
22. chown user file - Change file owner
23. chgrp group file - Change group ownership
24. ls -lh - Human-readable sizes
25. umask - Default permissions mask
26. find / -name file - Search for file
27. find . -type f - Find all files in current dir
28. locate filename - Fast file search
29. updatedb - Update locate database
30. grep "text" file - Search inside file
31. grep -r "text" dir - Recursive grep
32. grep -i "text" file - Case-insensitive search
33. grep -v "text" file - Exclude matching lines
34. awk '{print $1}' file - Column extraction
35. sed 's/old/new/' file - Replace text in file
36. tar -cvf archive.tar dir - Create tar archive
37. tar -xvf archive.tar - Extract tar archive
38. tar -tzf archive.tar.gz - List tar.gz contents
39. gzip filename - Compress file
40. gunzip filename.gz - Decompress file
41. zip archive.zip files - Create zip archive
42. unzip archive.zip - Extract zip archive
43. uname - Kernel name
44. uname -a - All system info
45. hostname - Show hostname
46. hostname -I - Show IP addresses
47. arch - Show architecture
48. df -h - Disk space usage
49. du -sh dir - Directory size
50. free -h - RAM usage
51. top - Live process monitor
52. htop - Advanced process viewer
53. ps aux - List all processes
54. pstree - Process tree
55. who - Who is logged in
56. w - Detailed who output
57. uptime - System uptime
58. date - Show date/time
59. cal - Show calendar
60. dmidecode - Hardware info
1. ifconfig - Show network interfaces
62. ip a - Newer way to show interfaces
63. ping host - Test connectivity
64. traceroute host - Route taken by packets
65. netstat -tuln - Listening ports
66. ss -tuln - Modern netstat
67. curl URL - Download content
68. wget URL - Retrieve files
69. dig domain - DNS lookup
70. nslookup domain - Simple DNS query
71. nmcli device - Show NetworkManager devices
72. systemctl restart network - Restart network service
73. useradd username - Add new user
74. passwd username - Set user password
75. userdel username - Delete user
76. groupadd groupname - Add new group
77. usermod -aG group user - Add user to group
78. id username - Show user ID info
79. su - username - Switch user
80. sudo command - Run command as root
81. visudo - Edit sudoers file