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.