π Linux Free Masterclass (Episode 6): Basic Commands (pwd, ls, and cd)
How do you navigate and explore the Linux terminal using pure keyboard commands without ever touching a mouse? Through essential navigation commands.
Here are the key points from Episode 6:
πΉ 1. The pwd Command (Print Working Directory)
Purpose: Tells you your exact current location within the Linux file system tree.
Usage: Typing pwd and pressing Enter outputs the absolute path of the directory you are currently standing in (e.g., /home/yash).
πΉ 2. The ls Command & Flags (Listing Files)
Purpose: Displays the contents (files and subdirectories) of your current directory.
Advanced Flags:
ls shows standard visible files.
ls -la combines long listing details (-l) with hidden files (-a, which reveal configuration files starting with a dot).
πΉ 3. The cd Command (Change Directory)
Purpose: Allows you to navigate and jump between folders.
Shortcuts & Navigation:
cd FolderName moves you forward into a specific directory.
cd ..β¦