Commonly used UNIX / Linux commands by new user

h‮‬ttps://www.lautturi.com
Commonly used UNIX / Linux commands by new user

Here are some commonly used Unix/Linux commands that may be useful for new users:

  1. pwd: Display the current working directory.
  2. cd: Change the current working directory.
  3. ls: List the files in the current directory.
  4. mkdir: Create a new directory.
  5. rmdir: Remove an empty directory.
  6. cp: Copy a file or directory.
  7. mv: Move or rename a file or directory.
  8. rm: Remove a file or directory.
  9. touch: Create a new empty file or update the timestamp of an existing file.
  10. man: Display the manual page for a command.
  11. less: View the contents of a file.
  12. cat: Concatenate and display the contents of one or more files.
  13. grep: Search for a pattern in a file or files.
  14. find: Search for files in a directory tree.
  15. sort: Sort the lines of a file.
  16. wc: Count the number of lines, words, and characters in a file.
  17. head: Display the first few lines of a file.
  18. tail: Display the last few lines of a file.
  19. tail -f: Follow the growth of a file in real time.
  20. ps: Display a list of processes running on the system.

These are just a few of the many commands that are available in Unix/Linux systems. You can use the man command to learn more about these and other commands, or you can search online for more information and examples.

Created Time:2017-10-16 14:38:42  Author:lautturi