Linux Terminal Most Used Commands and Usages

Ismat Babirli
3 min readJan 24, 2023
Photo by Joan Gamell on Unsplash

The Linux terminal is a powerful tool that lets users talk to the system and do many different things. In this blog post, we will discuss some of the most commonly used commands and their usage.

  1. ls - The ls command is used to list the files and directories in a given directory. This command can be used with various options, such as -l to display the files in a long format, and -a to display hidden files.
  2. cd - The cd command is used to change the current working directory. For example, to change the current directory to the home directory, you would use the command cd ~.
  3. mkdir - The mkdir command is used to create a new directory. For example, to create a new directory called "example," you would use the command mkdir example.
  4. touch - The touch command is used to create a new file. For example, to create a new file called "example.txt," you would use the command touch example.txt.
  5. rm - The rm command is used to remove files and directories. This command can be used with the option -r to remove directories and their contents. For example, to remove a file called "example.txt," you would use the command rm example.txt.
  6. cp - The cp command is used to copy files and directories. For example, to copy a file called "example.txt" to a new location…

--

--

Ismat Babirli
Ismat Babirli

Written by Ismat Babirli

Software Engineer and Tech Lover

No responses yet