Menu

🌐 Linux Free Masterclass (Episode 6): Basic Commands (pwd, ls, and cd)
πŸ“°

🌐 Linux Free Masterclass (Episode 6): Basic Commands (pwd, ls, and cd)

DEV Community: cybersecurityΒ·Yashpal PatelΒ·12 days ago
#WK7hbRgG
#devtocybersecurity#devto#dev#terminal#basiccommands
Reading 0:00
15s threshold

🌐 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 ..…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.