Skip to main content

8 Linux Commands I Use Every Single Day (That Newbies Master in 10 Minutes)

By Diablo's Tech Blog 

Published: November 25, 2025

 


If you’re ever opened a terminal on Linux and felt a tiny wave of panic, you’re not alone. The black screen with a blinking cursor looks intimidating-until you realize it’s actually the most powerful tool on your computer. Once you learn a handful of core commands, you’ll wonder how you ever lived without them. 

I’ve been using Linux daily for over a decade, and these eight commands are the ones I type hundreds of times a week. They save me hours, prevent mistakes, and make me feel like a wizard. Here they are, explained in plain English, with real-life examples so you can start using them today.

1. ls – Your Eyes Inside Any Folder

Most people know ls lists files, but the real magic happens when you combine it with its options.

Must-know versions:

  • ls -l → detailed view (permissions, owner, size, date)

  • ls -lh → same as above but human-readable sizes (23M instead of 23948576)

  • ls -a → show hidden files (those starting with .)

  • ls -ltr → my personal favorite: long list, sorted by modification time (newest at the bottom)

Real life: You downloaded a bunch of files months ago and can’t remember the name.

ls -ltr ~/Downloads instantly shows you the most recent ones at the bottom. No clicking through folders in a file manager ever again.

2. cd – Move Around Like a Pro

Yes, “change directory” is basic, but most beginners don’t know the shortcuts.

Cheat sheet:

  • cd → takes you straight to your home folder, no matter where you are

  • cd - → go back to the previous directory (like a back button)

  • cd .. → up one level (cd ../../ for two levels, etc.)

  • cd ~ → same as just cd, goes home

Pro tip: Use Tab completion. Type cd Dow + Tab → becomes cd Downloads/. Saves years of typing over a lifetime.

3. pwd – “Where the Hell Am I?”

You’re deep in some folder, following a tutorial, and suddenly you’re lost.

Just type pwd (print working directory) and it tells you the full path.

Bonus: Add it to your prompt so you always know where you are. Many distros already do this.

4. grep – Search Like You Mean It

grep is the reason I rarely use Ctrl+F in text editors anymore.

Examples that will change your life:

  • grep "error" logfile.txt → find every line with “error”

  • grep -i "error" logfile.txt → case-insensitive search

  • grep -r "TODO" . → search every file in the current folder (and subfolders) for “TODO”

  • journalctl | grep bluetooth → find all Bluetooth-related system log entries

Real story: Last month my Wi-Fi kept dropping. Ran journalctl -f | grep wpa and watched the exact moment the connection failed. Fixed it in 5 minutes.

5. find – The Ultimate File Hunter

The graphical search in your file manager is cute. find is a bloodhound.

Everyday heroes:

  • find . -name "*.pdf" → find all PDFs in current folder and below

  • find /home -size +100M → find files bigger than 100 MB (great for cleaning)

  • find . -type f -mtime -7 → files modified in the last 7 days

  • find . -iname "*.jpg" -exec rm {} + → delete all .jpg files (case-insensitive). Be careful!

I once recovered a lost document with find ~ -name "report_final_final_v2.docx" in under 3 seconds.

6. rm – With Great Power Comes Great Responsibility

Yes, there’s no recycle bin. But that’s also why it’s fast.

Safe habits I live by:

  • Never rm -rf / (obviously)

  • Always use rm -i when learning (it asks for confirmation)

  • Use rm -rf folder/ only when you’re 100% sure

  • My golden rule: alias rm to rm -I in your ~/.bashrc (it prompts once if you’re deleting more than 3 files)

Alternative: Use trash-cli so deleted files go to trash instead of vanishing forever.

7. curl & wget – Download the Internet

Two commands that belong in every Linux user’s muscle memory.

  • curl -O https://example.com/bigfile.zip → download file, keep original name

  • wget -r -np -k https://example.com/docs/ → mirror an entire website for offline reading

  • curl ifconfig.me → instantly see your public IP address

  • curl wttr.in/Berlin → beautiful ASCII weather in your terminal

I use curl -fsSL https://raw.githubusercontent.com/... so often when installing tools that my fingers type it automatically.

8. ssh – Your Computer, From Anywhere

Once you start using SSH, you’ll never understand how you lived without remote access.

Daily uses:

  • top / htop – see what’s eating your CPU/RAM

  • df -h – how much disk space is left (human readable)

  • du -sh * – see folder sizes sorted

  • history | grep git – find that command you used last week

  • Ctrl+R – reverse search your command history (life-changing)

Final Thought: The Terminal Isn’t Scary — It’s Freedom

Every one of these commands replaces an action that would take 10–30 seconds (or minutes) with a mouse and turns it into 1–3 seconds with your keyboard. Multiply that by hundreds of times a day and you’re literally saving hours every week.

Start with one command today. Open your terminal and try ls -lh. Then try cd Documents followed by pwd. Play. Break nothing important (or use a virtual machine if you’re nervous).


Comments

Popular posts from this blog

Google I/O 2026: Everything Announced So Far- Dates, Full Schedule, AI-Focused Themes, And What Developers Can Expect

By Pixel Paladin For Diablo Tech Blog | April 17 2026  Google I/O, the company’s flagship annual developer conference, returns on May 19–20, 2026 , and as of April 16, 2026, Google has officially revealed the dates, venue, livestream details, keynotes, and an initial slate of sessions that heavily hint at the biggest themes for the year. While the main product reveals, keynote demos, and deep technical sessions are still weeks away, the pre-event announcements paint a clear picture: 2026 is all about the “agentic era” of AI development , with major updates expected across Gemini, Android 17, Chrome, Cloud, Google Play, Firebase, and more. This in-depth guide compiles everything officially announced to date from Google’s blogs, the io.google site, and the newly released livestream schedule. I’ll break it down into timelines, exact session details, what the teasers imply, how to watch, and why this event matters for developers, Android users, and the broader tech ecosystem. Conside...

The Ultimate Guide To Google Pixel 9A And Pixel 10A Cameras: Why These Budget Phones Deliver Flagship-Level Photography Magic

  By Diablo Tech Blog | April 13 2026  If you’re in the market for a smartphone that takes stunning photos without draining your wallet, Google’s Pixel A-series has long been the undisputed champion. The Pixel 9A (released in early 2025) and its successor, the Pixel 10A (launched in early 2026), continue this tradition with camera systems that punch way above their mid-range price tags. Both phones prioritize Google’s legendary computational photography over raw hardware specs, delivering vibrant colors, excellent low-light performance, and AI-powered tools that feel almost magical. In this lengthy deep dive, we’ll break down every aspect of the cameras on the Pixel 9A and 10A — hardware, real-world performance, signature features, video capabilities, and the subtle but meaningful differences between the two models. Whether you’re a casual snapper, a travel photographer capturing Mumbai’s chaotic streets at dusk, or someone who wants pro-level edits without leaving the phone, ...

In-Depth Review and Hands-On with the Google Pixel 10a: Every Feature and Specification Explored

As a tech enthusiast and blogger based in Mumbai, I've had the privilege of getting my hands on the latest mid-range offering from Google: the Pixel 10a. Launched in February 2026, this device aims to bridge the gap between affordability and premium features, starting at $499 for the 128GB model and going up to $599 for 256GB. It's positioned as an entry point for those seeking the Pixel experience without the flagship price tag, especially appealing to users switching from iPhones or looking for a compact Android phone with long-term support. In this comprehensive article, I'll dive deep into every aspect of the Pixel 10a, drawing from my two-week hands-on experience, official specs, and insights from various reviews. We'll cover design, display, performance, camera, battery, software, and more. If you're considering this as your next daily driver, read on to see if it lives up to the hype—or if it's just a subtle refresh of its predecessor, the Pixel 9a. Desig...