https://drive.google.com/file/d/15mpGVbhaovBvRgGou15kFGyqJNWrDZoW/view?usp=sharing

1. pwd – Print Working Directory

Command

pwd

Explanation

Example

$ pwd
/home/user/Documents


2. cd – Change Directory

Commands

cd <path>      # Move into a specific directory
cd ~           # Go to the user’s home directory
cd -           # Go back to the previous directory
cd .           # Stay in the current directory
cd ..          # Move one level up (parent directory)

Example Walkthrough

cd /etc
pwd           # Shows /etc
cd -          # Returns to previous directory
cd ..         # Goes up one level


3. Auto Path Completion