In this blog, I'm going to list the basic Linux commands everyone should know about.
What is a shell?
A shell in Linux is the command line interface that will take all my commands as input, give them to the operating system to process, and also show the output.
Basic Linux commands
ls
The ls command is used to list files.
ls
on its own lists all files in the current directory except for hidden files.to list down the hidden files
ls -a
is used.mkdir
Creates a directory or subdirectory
mkdir <dir name>
cd
cd
stands for change directory. this command is used to change the current working directory.pwd
Print working Directory - It prints the path of the working directory, starting from the root.cat
Cat(concatenate) command is very frequently used in Linux. It reads data from the file and gives their content as output.
touch
to create a new file touch <filename> is used.
cp
copy command used to make the copy of the file.
mv
move file from one location to another.
rm
deleting a file from a directory.
man
man command in Linux is used to display the user manual of any command that we can run on the terminal.