#Day2 Basic Linux Commands

#Day2  
Basic Linux Commands

Table of contents

Linux Commands

  1. PWD: Checking Your Present Working Directory:

  2. ls: Listing All Files and Directories Including Hidden Files:

  3. cd: Navigating to a Different Directory

  4. Sudo: This command executes only that command with superuser privileges.

  5. cat:To view what's written in a file

  6. cp : Copying Files and Directories:

  7. mv : Moving and Renaming Files and Directories:

  8. rm : Deleting Files and Directories:

  9. Creating a Nested Directory A/B/C/D/E:

  10. Vim: This is a text editor used in Linux. It stands for “Vi Improved”.

  11. Lsof: It is used to display a list of all the open files on a Linux system.

  12. History: This command is used to view the previously executed command.