Hey everyone! Welcome to Day 2 of my Linux journey as I prep for the RHCSA certification. Today’s focus? Getting comfortable moving around the Linux file system—because before you can manage systems, you need to know your way around them.
This is one of the first hands-on skills every Linux user needs, and trust me, it feels great once it clicks!
1. pwd — Print Working Directory
This simple command shows where you are in the file system.
2. ls — List Directory Contents
This is your go-to command to see what’s inside a folder.
3. cd — Change Directory
Move between folders with cd. It's your Linux GPS. 🧭
Pro tip: Use Tab to auto-complete folder names. Saves time!
4. tree — Visualize the Directory Structure
This one’s not installed by default on all distros, but it’s super helpful.
Example output:
Quick Summary
Command Description
pwd |
Shows your current directory
ls |
Lists contents of a directory
cd |
Moves between directories
tree |
Displays the directory structure
What I Learnt
The Linux file system is hierarchical, starting from the root /.
Knowing where you are (pwd) and what’s around you (ls) is key to navigating with confidence.
cd becomes second nature with practice—especially using shortcuts like .. and ~.
Visual tools like tree help you see the structure, which is great for beginners and troubleshooting.
Join the Challenge!
Day 2 down, 28 to go! If you’re new to Linux or prepping for RHCSA too, I’d love to connect and learn together. Got tips, tools, or stories to share? Drop them in the comments or reach out!
📖 Missed Day 1? https://lnkd.in/d-DzJeci