Select Page

Linux is a popular open-source operating system that is widely used for servers, desktops, and other devices. One of the key features of Linux is its powerful command-line interface, which allows users to perform various tasks and manage the system efficiently.

The Linux command line consists of a shell, which is a program that reads and executes commands. There are several shells available in Linux, including the most commonly used Bourne Again SHell (BASH). The shell accepts commands entered by the user and executes them, either by running a built-in command or by calling an executable file.

Some of the most commonly used Linux commands include ls, which lists the contents of a directory, cd, which changes the current working directory, and pwd, which prints the current working directory. The touch command creates a new file or updates the modification time of an existing file, while the rm command removes files or directories. The cat command concatenates and displays files, while the echo command displays a message or the value of a variable. See the bellow commands that are commonly used. 

 

List of Commands

  1. ls – list the contents of a directory
  2. cd – change the current working directory
  3. pwd – print the current working directory
  4. mkdir – create a new directory
  5. rmdir – remove an empty directory
  6. touch – create a new file or update the modification time of an existing file
  7. cp – copy files or directories
  8. mv – move or rename files or directories
  9. rm – remove files or directories
  10. cat – concatenate and display files
  11. echo – display a message or the value of a variable
  12. ps – display information about the processes running on the system
  13. top – display system resource usage and process information in real-time
  14. kill – terminate a process
  15. chmod – change the permissions of files or directories
  16. chown – change the owner or group of a file or directory
  17. find – search for files based on various criteria
  18. grep – search for patterns in text files
  19. tar – create or extract compressed archive files
  20. ssh – secure shell access to remote systems
  21. scp – secure file transfer over ssh
  22. ping – test network connectivity
  23. curl – transfer data over network protocols
  24. wget – retrieve files from the web
  25. apt-get – package manager for Debian-based systems
  26. yum – package manager for Red Hat-based systems