Top 30 Linux commands for beginners.

  1. ls: Lists the files and directories in the current directory.

  2. cd: Changes the current directory.

  3. pwd: Prints the current working directory.

  4. cp: Copies a file or directory.

  5. mv: Moves or renames a file or directory.

  6. rm: Removes a file or directory.

  7. mkdir: Creates a new directory.

  8. rmdir: Deletes an empty directory.

  9. cat: Concatenates and displays the contents of one or more files.

  10. touch: Creates an empty file or updates the timestamp of an existing file.

  11. chmod: Changes the permissions of a file or directory.

  12. chown: Changes the owner of a file or directory.

  13. grep: Searches for a pattern in a file or output of another command.

  14. find: Searches for files and directories based on various criteria.

  15. tar: Compresses or extracts files and directories into a tar archive.

  16. gzip: Compresses or decompresses files using the gzip format.

  17. ping: Tests the connectivity of a network host.

  18. ifconfig: Displays network interface configuration information.

  19. netstat: Displays network connections and routing tables.

  20. ssh: Connects to a remote host using the SSH protocol.

  21. scp: Copies files between hosts using the SSH protocol.

  22. su: Switches to another user account.

  23. sudo: Executes a command with elevated privileges.

  24. top: Displays system resource usage and processes.

  25. ps: Displays information about running processes.

  26. kill : Terminates a running process.

  27. uptime: Displays system uptime and load averages.

  28. df: Displays disk usage information.

  29. du: Displays the size of a file or directory.

  30. history: Displays the command history for the current user.