DEV Community

Cover image for ๐Ÿง My First Day with Linux: A Story About Talking to the Terminal
Sriram Bharath
Sriram Bharath

Posted on

๐Ÿง My First Day with Linux: A Story About Talking to the Terminal

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
Enter fullscreen mode Exit fullscreen mode

It politely tells you your current location in the Linux world. For me, it said:

/home/sriram
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

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.