Linux Terminal Most Used Commands and Usages
3 min readJan 24, 2023
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.
ls
- Thels
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.cd
- Thecd
command is used to change the current working directory. For example, to change the current directory to the home directory, you would use the commandcd ~
.mkdir
- Themkdir
command is used to create a new directory. For example, to create a new directory called "example," you would use the commandmkdir example
.touch
- Thetouch
command is used to create a new file. For example, to create a new file called "example.txt," you would use the commandtouch example.txt
.rm
- Therm
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 commandrm example.txt
.cp
- Thecp
command is used to copy files and directories. For example, to copy a file called "example.txt" to a new location…