The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Top 50 Linux Commands You...
By Guest on 28th May 2023 03:22:30 PM | Syntax: TEXT | Views: 1



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. Top 50 Linux Commands You Must Know as a Regular User...
  2.  
  3. 1. ls - view contents of directory (list)
  4. 2. pwd - path of the current directory
  5. 3. cd -  change directoryn
  6. 4. mkdir - make new directory
  7. 5. mv - move files / rename files
  8. 6. cp - copy files
  9. 7. rm - remove files
  10. 8. touch - create blank new file
  11. 9. rmdir - delete directory
  12. 10. cat - list content of file to terminal
  13. 11. clear - clear terminal window
  14. 12. echo - move data into a file
  15. 13. less - Read text file one screen at a time
  16. 14. man - show manual of Linux commands
  17. 15. sudo - enables you to perform tasks that require administrative or root permissions
  18. 16. top - task manager in terminal
  19. 17. tar - used to archive multiple files into a tarball
  20. 18. grep - used to searching words in specific files
  21. 19. head - view first lines of any text file
  22. 20. tail - view last lines of any text file
  23. 21. diff - compares the contents of two files line by line
  24. 22. kill - used for killing unresponsive program
  25. 23. jobs - display all current jobs along with their statuses
  26. 24. sort - is a command line utility for sorting lines of text files
  27. 25. df - info about system disk
  28. 26. du - check how much space a file or directory takes
  29. 27. zip - to compress your files into a zip archive
  30. 28. unzip - to extract the zipped files from a zip archive
  31. 29. ssh - a secure encrypted connection between two hosts over and insecure network
  32. 30. cal - shows calendar
  33. 31. apt - command line tool for interaction with packaging system
  34. 32. alias - custom shortcuts used to represent a command
  35. 33. w - current user info
  36. 34. whereis - used to locate the binary, source, manual page files
  37. 35. whatis - used to get one-line man page description
  38. 36. useradd - used to create a new user
  39. 37. passwd - used to changing password of current user
  40. 38. whoami - print current user
  41. 39. uptime - print current time when machine starts
  42. 40. free - print free disk space info
  43. 41. history - print used commands history
  44. 42. uname - print detailed information about your Linux system
  45. 43. ping - to check connectivity status to a server
  46. 44. chmod - to change permissions of files and directories
  47. 45. chown - to change ownership of files and directories
  48. 46. find - using find searches for files and directories
  49. 47. locate - used to locate a file, just like the search command in Windows
  50. 48. ifconfig - print ip address stuff
  51. 49. ip a - similar to ifconfig but shortest print
  52. 50. finger - gives you a short dump of info about a user



  • Recent Pastes