
Linux & Terminal Commands
A shell is a command-line interface which allows to perform certain tasks using command
Basic Commands
cdβ change directory
cd ..β goes back a single directory
mkdirβ make new folder
mkdir -pβ makes directories and sub-directories too.
touchβ creates a new file
ls/dirβ lists all the files in the current directory
ls -aβ displays all the hidden files
ls -lβ shows more information like size, date about the files in working directory.
ls -Rβ show files, directories and sub-directories as well.
xdg-open/openβ opens the graphical interface of the present working directory.pwdβ Print Working Directory
cpβ creates a copy of a file or a folder
cp -Rβ copies directories and also the sub-directories
mvβ moves files
If names of two files are given, then the file gets renamed.rmβ removes only files permanently.
rm -Rβ removes directories permanently.
rm -rfβ force remove of files or directories.
sudoβ Super User Do gives system administrator privileges.
sudo apt update && sudo apt upgradeis used to download and install updates.