Close

2022-04-20

Important Linux Bash Commands

Important Linux Bash Commands
  1. s – list files and directories
  2. cd – change directory
  3. pwd – display current working directory
  4. mkdir – create a new directory
  5. rmdir – remove an empty directory
  6. rm – remove a file or directory
  7. touch – create a new file
  8. cat – display the contents of a file
  9. nano – open a file in the nano text editor
  10. vi – open a file in the vi text editor
  11. cp – copy a file or directory
  12. mv – move or rename a file or directory
  13. man – display the manual for a command
  14. chmod – change file permissions
  15. chown – change file ownership
  16. sudo – run a command with superuser privileges
  17. echo – display text on the screen
  18. cat – concatenate and display files
  19. grep – search for text in a file
  20. find – search for files on the system
  21. tar – archive files
  22. gzip – compress files
  23. gunzip – decompress gzip files
  24. curl – transfer data from a URL
  25. wget – download files from the internet
  26. ssh – connect to a remote server
  27. scp – copy files to/from a remote server
  28. rsync – synchronize files between local and remote systems
  29. top – display real-time process information
  30. ps – display information about running processes