Basic linux commands
sudo apt update
sudo apt upgrade
ls :- The ls command is commonly used to identify the files and directories in the
working directory.
mkdir :- This mkdir command allows you to create fresh directories in the terminal
itself. The default syntax is mkdir <directory name> and the new directory will be
created.
pwd :- The pwd command is mostly used to print the current working directory on
your terminal.
cd :- The cd command is used to navigate between directories. It requires either
the full path or the directory name, depending on your current working directory. If
you run this command without any options, it will take you to your home folder.
cd .. :- Goes back one directory
rm -rf :- The rmdir command is used to delete permanently an empty directory.
cp - it works like copy and paste for windows.
mv - The mv command is generally used for renaming the files in Linux.
rm :- rm command in Linux is generally used to delete the files created in the
directory.
touch :- The touch command creates an empty file when put in the terminal in
this format as touch <file name>
cat :- The cat command is the simplest command to use when you want to see
the contents of a particular file. The only issue is that it simply unloads the entire
file to your terminal. If you want to navigate around a huge file, you should use
less commands alternatively.
clear :- The clear command is a standard command to clear the terminal screen.