Skip to main content

Command Palette

Search for a command to run...

What I Learned Today: Basic LINUX Command Line Commands

Updated
3 min read
What I Learned Today: Basic LINUX Command Line Commands

June 6th, 2025 [8:08 PM]

Hey everyone!

Sometimes, random tasks come your way that turn out to be pretty cool learning moments. Today, I got assigned a simple but interesting task - to explain some basic Linux commands in a fun way.

Honestly, I didn’t expect to dive this deep, but it gave me a chance to explore Linux command line stuff I’d only heard about before. So here’s a quick recap of what I learned today - nothing too fancy, just the basics that actually make your life easier if you’re starting with Linux.


Why Linux Command Line?

If you’re new to Linux, the command line might look scary - a black screen with lots of text. But once you get the hang of it, it’s like having a superpower. You can do things faster and with way more control than just clicking around.

Today, I learned how some simple commands help you navigate files, create folders, move things around, and find stuff quickly.


Here’s What I Learned (With My Rough Notes)


Basic Commands in a Nutshell

  • ls — Lists everything inside a folder. Think of it like scanning your fridge to see what snacks🍕 you have.

  • pwd — Shows where you currently are in the folder system. Because honestly, getting lost in folders🗂 is way too easy!

  • mkdir — Makes a new folder, giving your files a fresh new home, helping in organising things.

  • cd — Moves you between folders, like teleporting around your kitchen🔪 and bedroom🛏️ (quick & familiar).

  • rmdir — Deletes empty folders - kind of like cleaning up empty boxes after you’ve moved stuff
    or think of it like nature’s way with male honeybees🐝 after their job is done🤫.

  • cp — Copies a file exactly as it is (like making a perfect photocopy of your exam paper - with no weird blurs or ink marks👣).

  • mv — Moves or renames files - like tidying up your messy desktop.

  • uname — Tells you what system you’re running - your OS introducing itself.

  • locate — Finds files anywhere on your system, like having a digital assistant🤖 that knows where everything is.


Why This Matters

Learning these basic commands is a great first step if you want to get comfortable with Linux. It’s not just about using an OS; it’s about controlling your computer more smartly. Plus, it feels awesome when you realise how powerful simple commands can be.


Wrapping Up

So that was my quick Linux crash course, thanks to a random task! I’m attaching my handwritten notes - rough but real. If you’re just starting with Linux, try these commands yourself, and you’ll be surprised how fast you can get things done.

Feel free to ask if you wanna know more or share your tips!


Stay curious and keep learning!
—- Ayush Hardeniya

More from this blog

A

Ayush Hardeniya's CodeNotes

8 posts

Welcome to CodeNotes, a space where I document my daily tech learnings, code explorations, and deployment experiences.