DEV Community

Cover image for Leveling Up — Linux Commands You’ll Actually Use (30-Day RHCSA + Ansible Journey)
Muhammad Zulqernain Zahid
Muhammad Zulqernain Zahid

Posted on

2 1 1 1

Leveling Up — Linux Commands You’ll Actually Use (30-Day RHCSA + Ansible Journey)

You survived your first Linux commands? Congratulations, you’re officially dangerous!

Now let’s add some serious power moves to your toolbox — still beginner-friendly, but with enough spice to impress.


Commands That Make Life Easier

1. uname -r — Know Your Kernel Like You Know Your Coffee

uname -r
Enter fullscreen mode Exit fullscreen mode

Purpose: Displays your Linux kernel version.

Use it when: You're troubleshooting or bragging about running the latest and greatest.


2. whoami — Existential Crisis, Solved

whoami
Enter fullscreen mode Exit fullscreen mode

Purpose: Tells you which user you're currently logged in as.

Use it when: You forgot who you are (at least digitally).


3. df -h — How Much Room Left for Bad Decisions?

df -h
Enter fullscreen mode Exit fullscreen mode

Purpose: Shows disk space usage in a human-readable format.

Use it when: You want to check if you’re running out of space before downloading more cat memes.


4. top — The Pulse of Your Machine

top
Enter fullscreen mode Exit fullscreen mode

Purpose: Live view of running processes and system resource usage.

Use it when: You hear the fans spinning like a jet engine.


5. cat — Fastest Way to Peek at a File

cat filename.txt
Enter fullscreen mode Exit fullscreen mode

Purpose: Displays the contents of a file.

Use it when: You need a quick look without opening an editor.


6. chmod — Because Permissions Matter

chmod 755 myscript.sh
Enter fullscreen mode Exit fullscreen mode

Purpose: Changes file permissions.

Use it when: Your script refuses to run because it's "not executable."


7. man — The Book of Secrets

man ls
Enter fullscreen mode Exit fullscreen mode

Purpose: Opens the manual for a command.

Use it when: You want to dive deeper into how a command works.


🏆 Mini Challenge: Become the Command Ninja

  1. Open your terminal.
  2. Find out your kernel version with uname -r.
  3. Check your user with whoami.
  4. See your disk usage with df -h.
  5. Peek into any file using cat.
  6. Explore man chmod and learn about file permissions.

Bonus Points:

Use top and identify which process is hogging your CPU!


Pro Tip:

Practice every day. Linux rewards curiosity. The more you try, the faster you level up.

🔥 Ready to flex? Drop your favorite command in the comments!


Tags:

#linux #redhat #rhcsa #techwithengineers #techtransition #learnlinux #devops #linuxlab #cloudwhistler #30daychallenge #opensource #techjourney

Postmark Image

20% off for developers who'd rather build features than debug email

Stop wrestling with email delivery and get back to the code you love. Postmark handles the complexities of email infrastructure so you can ship your product faster.

Start free

Top comments (4)

Collapse
 
nevodavid profile image
Nevo David

lol love this energy - been using linux for ages and still learn new stuff like every week. you ever feel like no matter how much you know, theres always one more command hiding somewhere?

Collapse
 
xane_xahid profile image
Muhammad Zulqernain Zahid

That's what I'm talking about. You never know when one small thing can untie the biggest of the problems' knots. Happy Learning

Collapse
 
wafoxa9231 profile image
Wamic

This is a great list of practical Linux commands! I love how you kept it fun while also sharing commands that can seriously level up your workflow. The df -h command is such a lifesaver when you're running low on disk space. Also, the mini challenge is a great way to get hands-on and practice. My go-to command is htop—it’s like top but with a better interface for monitoring processes. Keep these coming, I’m learning something new every time!

Collapse
 
xane_xahid profile image
Muhammad Zulqernain Zahid

That makes me more eager to produce content, and with much more energy, I hope my old bones can accommodate this much energy. Thank you for sharing the command. I'll add it to my arsenal. Let's grow together.

👋 Kindness is contagious

Dive into this informative piece, backed by our vibrant DEV Community

Whether you’re a novice or a pro, your perspective enriches our collective insight.

A simple “thank you” can lift someone’s spirits—share your gratitude in the comments!

On DEV, the power of shared knowledge paves a smoother path and tightens our community ties. Found value here? A quick thanks to the author makes a big impact.

Okay