Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. **`ls`**: List files and directories.
- - Example: `ls -l` for detailed listing.
- 2. **`cd`**: Change directory.
- - Example: `cd Documents` to navigate.
- 3. **`pwd`**: Print current working directory.
- 4. **`mkdir`**: Create a new directory.
- - Example: `mkdir NewDirectory`.
- 5. **`touch`**: Create an empty file.
- - Example: `touch newfile.txt`.
- 6. **`cp`**: Copy files or directories.
- - Example: `cp file.txt /path/to/destination`.
- 7. **`mv`**: Move or rename files/directories.
- - Example: `mv oldfile.txt newfile.txt`.
- 8. **`rm`**: Remove/delete files or directories.
- - Caution: `rm file.txt`.
- 9. **`cat`**: Display file contents.
- - Example: `cat file.txt`.
- 10. **`nano` or `vim`**: Text editors for file editing.
- - Example: `nano filename`.
- 11. **`grep`**: Search for a pattern in files.
- - Example: `grep pattern file.txt`.
- 12. **`chmod`**: Change file permissions.
- - Example: `chmod 755 file.txt`.
- 13. **`chown`**: Change file ownership.
- - Example: `chown user:group file.txt`.
- 14. **`alias`**: Create a shortcut for a command.
- - Example: `alias ll='ls -l'`.
- 15. **`find`**: Search for files.
- - Example: `find /path -name filename`.
- 16. **`awk`**: Process and analyze text.
- - Example: `awk '{print $1}' file.txt`.
- 17. **`sed`**: Text stream editor.
- - Example: `sed 's/old/new/g' file.txt`.
- 18. **`history`**: View command history.
- - Example: `history | tail -n 10`.
- 19. **`shutdown`**: Power off or restart.
- - Example: `shutdown now`.
- 20. **`df`**: Display disk space usage.
- - Example: `df -h`.
- 21. **`du`**: Display file and directory space usage.
- - Example: `du -sh directory`.
- 22. **`tar`**: Create or extract compressed archives.
- - Example: `tar -cvf archive.tar files`.
- 23. **`wget`**: Download files from the internet.
- - Example: `wget url`.
- 24. **`scp`**: Securely copy files between systems.
- - Example: `scp file.txt user@remote:/path`.
- 25. **`head`**: Display the first lines of a file.
- - Example: `head -n 5 file.txt`.
- 26. **`tail`**: Display the last lines of a file.
- - Example: `tail -n 10 file.txt`.
- 27. **`nmcli`**: Command-line client for NetworkManager.
- - Example: `nmcli device show`.
- 28. **`ps`**: Display information about running processes.
- - Example: `ps aux`.
- 29. **`kill`**: Terminate a process.
- - Example: `kill process_id`.
- 30. **`uname`**: Display system information.
- - Example: `uname -a`.
- 31. **`date`**: Display the current date and time.
- - Example: `date`.
- 32. **`echo`**: Display a message.
- - Example: `echo "Hello, World!"`.
- 33. **`whoami`**: Display the current username.
- - Example: `whoami`.
- 34. **`top`**: Display real-time system statistics.
- - Press `q` to exit.
- 35. **`ifconfig` or `ip`**: Display network interface information.
- - Example: `ifconfig` or `ip address show`.
- ```
- And here are the remaining commands:
- ```markdown
- 36. **`ping`**: Check network connectivity to a host.
- - Example: `ping google.com`.
- 37. **`nc`**: Netcat for network communication.
- - Example: `nc -zv host 80` checks connectivity on a specific port.
- 38. **`df`**: Display disk space usage.
- - Example: `df -h`.
- 39. **`du`**: Display file and directory space usage.
- - Example: `du -sh directory`.
- 40. **`free`**: Display system memory usage.
- - Example: `free -h`.
- 41. **`ps`**: Display information about running processes.
- - Example: `ps aux`.
- 42. **`kill`**: Terminate a process.
- - Example: `kill process_id`.
- 43. **`uname`**: Display system information.
- - Example: `uname -a`.
- 44. **`date`**: Display the current date and time.
- - Example: `date`.
- 45. **`echo`**: Display a message.
- - Example: `echo "Hello, World!"`.
- 46. **`whoami`**: Display the current username.
- - Example: `whoami`.
- 47. **`top`**: Display real-time system statistics.
- - Press `q` to exit.
- 48. **`ifconfig` or `ip`**: Display network interface information.
- - Example: `ifconfig` or `ip address show`.
- 49. **`ping`**: Check network connectivity to a host.
- - Example: `ping google.com`.
- 50. **`nc`**: Netcat for network communication.
- - Example: `nc -zv host 80` checks connectivity on a specific port.
- 51. **`uptime`**: Display how long the system has been running.
- - Example: `uptime`.
- 52. **`groups`**: Show the groups a user belongs to.
- - Example: `groups username`.
- 53. **`passwd`**: Change user password.
- - Example: `passwd`.
- 54. **`ps`**: Display information about running processes.
- - Example: `ps aux`.
- 55. **`kill`**: Terminate a process.
- - Example: `kill process_id`.
- 56. **`uname`**: Display system information.
- - Example: `uname -a`.
- 57. **`date`**: Display the current date and time.
- - Example: `date`.
- 58. **`echo`**: Display a message.
- - Example: `echo "Hello, World!"`.
- 59. **`whoami`**: Display the current username.
- - Example: `whoami`.
- 60. **`top`**: Display real-time system statistics.
- - Press `q` to exit.
- 61. **`ifconfig` or `ip`**: Display network interface information.
- - Example: `ifconfig` or `ip address show`.
- 62. **`ping`**: Check network connectivity to a host.
- - Example: `ping google.com`.
- 63. **`nc`**: Netcat for network communication.
- - Example: `nc -zv host 80` checks connectivity on a specific port.
- 64. **`df`**: Display disk space usage.
- - Example: `df -h`.
- 65. **`du`**: Display file and directory space usage.
- - Example: `du -sh directory`.
- 66. **`free`**: Display system memory usage.
- - Example: `free -h`.
- 67. **`ps`**: Display information about running processes.
- - Example: `ps aux`.
- 68. **`kill`**: Terminate a process.
- - Example: `kill process_id`.
- 69. **`uname`**: Display system information.
- - Example: `uname -a`.
- 70. **`date`**: Display the current date and time.
- - Example: `date`.
- 71. **`echo`**: Display a message.
- - Example: `echo "Hello, World!"`.
- 72. **`whoami`**: Display the current username.
- - Example: `whoami`.
- 73. **`top`**: Display real-time system statistics.
- - Press `q` to exit.
- 74. **`ifconfig` or `ip`**: Display network interface information.
- - Example: `ifconfig` or `ip address show`.
- 75. **`ping`**: Check network connectivity to a host.
- - Example: `ping google.com`.
- 76. **`nc`**: Netcat for network communication.
- - Example: `nc -zv host 80` checks connectivity on a specific port.
- 77. **`df`**: Display disk space usage.
- - Example: `df -h`.
- 78. **`du`**: Display file and directory space usage.
- - Example: `du -sh directory`.
- 79. **`free`**: Display system memory usage.
- - Example: `free -h`.
- 80. **`ps`**: Display information about running processes.
- - Example: `ps aux`.
- 81. **`kill`**: Terminate a process.
- - Example: `kill process_id`.
- 82. **`uname`**: Display system information.
- - Example: `uname -a`.
- 83. **`date`**: Display the current date and time.
- - Example: `date`.
- 84. **`echo`**: Display a message.
- - Example: `echo "Hello, World!"`.
- 85. **`whoami`**: Display the current username.
- - Example: `whoami`.
- 86. **`top`**: Display real-time system statistics.
- - Press `q` to exit.
- 87. **`ifconfig` or `ip`**: Display network interface information.
- - Example: `ifconfig` or `ip address show`.
- 88. **`ping`**: Check network connectivity to a host.
- - Example: `ping google.com`.
- 89. **`nc`**: Netcat for network communication.
- - Example: `nc -zv host 80` checks connectivity on a specific port.
- 90. **`uptime`**: Display how long the system has been running.
- - Example: `uptime`.
- 91. **`groups`**: Show the groups a user belongs to.
- - Example: `groups username`.
- 92. **`passwd`**: Change user password.
- - Example: `passwd`.
- 93. **`ps`**: Display information about running processes.
- - Example: `ps aux`.
- 94. **`kill`**: Terminate a process.
- - Example: `kill process_id`.
- 95. **`uname`**: Display system information.
- - Example: `uname -a`.
- 96. **`date`**: Display the current date and time.
- - Example: `date`.
- 97. **`echo`**: Display a message.
- - Example: `echo "Hello, World!"`.
- 98. **`whoami`**: Display the current username.
- - Example: `whoami`.
- 99. **`top`**: Display real-time system statistics.
- - Press `q` to exit.
- 100. **`ifconfig` or `ip`**: Display network interface information.
- - Example: `ifconfig` or `ip address show`.
- 101. **`ping`**: Check network connectivity to a host.
- - Example: `ping google.com`.
- 102. **`nc`**: Netcat for network communication.
- - Example: `nc -zv host 80` checks connectivity on a specific port.
- 103. **`df`**: Display disk space usage.
- - Example: `df -h`.
- 104. **`du`**: Display file and directory space usage.
- - Example: `du -sh directory`.
- 105. **`free`**: Display system memory usage.
- - Example: `free -h`.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement