Table of contents
Linux Commands
PWD: Checking Your Present Working Directory:
ls: Listing All Files and Directories Including Hidden Files:
-
cd: Navigating to a Different Directory
Sudo: This command executes only that command with superuser privileges.
-
cat:To view what's written in a file
-
cp : Copying Files and Directories:
mv : Moving and Renaming Files and Directories:
-
rm : Deleting Files and Directories:
-
Creating a Nested Directory A/B/C/D/E:
-
Vim: This is a text editor used in Linux. It stands for “Vi Improved”.
Lsof: It is used to display a list of all the open files on a Linux system.
-
History: This command is used to view the previously executed command.