Useful Basic Linux Commands

Today, I would like to share some useful basic linux commands. Let’s take a look at the following commands.

  1. cd – changes the current working directory
  2. pwd – prints the current working directory
  3. ls – lists the contents of a directory
  4. mkdir – creates a new directory
  5. touch – creates a new empty file
  6. ln – creates a link to a file or directory
  7. cp – copies a file or directory
  8. mv – moves a file or directory
  9. rm – removes a file or directory
  10. echo – prints a message to the terminal
  11. less – views a file with pagination
  12. cat – displays/print the contents of a file
  13. grep – searches for a pattern in a file
  14. head – displays the first few lines of a file
  15. tail – displays the last few lines of a file
  16. clear – clears the terminal screen
  17. uname – displays information about the system
  18. whoami – displays the current user
  19. passwd – changes the password for a user
  20. df – displays information about disk space on mounted filesystems.
  21. ps – displays information about running processes
  22. sudo – allows a user to run a command as a root (superuser)
  23. mount – mounts a filesystem
  24. chmod – changes the permissions of a file or directory
  25. chown – changes the ownership of a file or directory
  26. zip – compresses files into a zip archive
  27. unzip – extracts files from a zip archive
  28. tar – compresses and archive files and directories
  29. kill – sends a signal to a process to terminate
  30. killall – terminates all processes by name
  31. apt – a package manager for Debian-based systems
  32. wget – downloads a file from internet
  33. whereis – displays the locations of a command
  34. whatis – displays a short description of a command
  35. man – displays the manual page for a command

This is all for now. The details of each command can be explored with ‘man’ command by yourself.

Hope you enjoy that.

By asahi



アプリ関連ニュース

お問い合わせはこちら

お問い合わせ・ご相談はお電話、またはお問い合わせフォームよりお受け付けいたしております。

tel. 06-6454-8833(平日 10:00~17:00)

お問い合わせフォーム