Hey friends 👋,
Today, I entered a new world: the Linux terminal. At first, it felt like standing at the entrance of a huge mysterious cave 🏞️. But then, I realized something amazing ,the terminal is like a friend who listens to your words and turns them into action.
So let me take you on a little story about my first commands…
📍 Step 1: Finding Out Where I Am — pwd
Imagine waking up in a strange city. First thing you’d ask is:
“Where am I?”
That’s exactly what the command pwd
does.
pwd
It politely tells you your current location in the Linux world. For me, it said:
/home/sriram
That means I was standing in my “home” area, my personal space in Linux.
🗂️ Step 2: Looking Around — ls
Okay, now I know where I am. But… what’s around me?
That’s where ls
comes in.
ls
It’s like opening your eyes 👀 and seeing all the files and folders around you.
- If the directory is empty → you’re in a quiet room.
- If there are names → those are your neighbors (files/folders).
🚪 Step 3: Walking Into Rooms — cd
Knowing your surroundings isn’t enough. You want to explore 🏃.
That’s when I learned cd
(change directory).
cd Documents
This is like saying: “Take me to the Documents room.”
And just like that, I’m in another part of the Linux house.
Pro tip:
cd ..
means “go back to the previous room.”
🏗️ Step 4: Building Something New — mkdir
Exploring is fun, but what if you want to create your own space?
That’s where mkdir
(make directory) comes in.
mkdir Projects
Boom 💥, I just built a brand new “Projects” room where I can keep my stuff.
📝 Step 5: Leaving Notes — touch
Sometimes you need to leave a sticky note 🗒️ in your room.
That’s what touch
does.
touch ideas.txt
It creates an empty file called ideas.txt
. Now I can fill it later with all my random thoughts 💡.
🗑️ Step 6: Cleaning Up — rm
Of course, not everything you create needs to stay forever.
Made a mistake? That’s okay, just remove it.
rm ideas.txt
And just like crumpling a paper ball and tossing it in the bin 🗑️, the file disappears.
🧭 The Adventure Map (What I Learned)
So today’s journey was like exploring a new world:
- 🗺️
pwd
→ “Where am I?” - 👀
ls
→ “What’s around me?” - 🚪
cd
→ “Let’s explore that room.” - 🏗️
mkdir
→ “I built a new room.” - 📝
touch
→ “Here’s my note.” - 🗑️
rm
→ “Cleaned up the mess.”
🚀 Next Chapter Coming Soon
This was just the beginning. Tomorrow I’ll learn about:
- File permissions (the keys 🔑 to locked rooms)
- Installing apps with package managers
- Connecting commands with pipes & redirection
💬 Final Thoughts
Linux isn’t just about typing commands. It’s about storytelling with your system. Each command is like a little spell ✨ you cast to control your world.
If you’ve never tried Linux, give it a shot. Trust me, the terminal feels less scary when you see it as an adventure game 🎮.
— Sriram Bharath 🐧
Top comments (0)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.