20 Basic Linux Commands
1. ls
Lists files and directories in the current directory.
2. cd
Changes the current directory.
3. pwd
Prints the current working directory.
4. mkdir
Creates a new directory.
5. rmdir
Removes an empty directory.
6. rm
Deletes files or directories.
7. cp
Copies files or directories.
8. mv
Moves or renames files and directories.
9. touch
Creates an empty file.
10. cat
Displays the contents of a file.
11. clear
Clears the terminal screen.
12. whoami
Shows the currently logged-in user.
13. uname -a
Page 1
20 Basic Linux Commands
Displays system information.
14. df -h
Shows disk space usage in human-readable format.
15. top
Displays real-time running processes.
16. ps
Lists running processes.
17. kill
Kills a running process using its PID.
18. chmod
Changes file permissions.
19. chown
Changes file ownership.
20. sudo
Executes a command with superuser privileges.
Page 2