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

Structural And Computational Evolution In The Mid-Range Smartphone Segment: A Technical Monograph On The Google Pixel 10a Versus The Google Pixel 9a

By Diablo Tech Blog | April 24 2026  The competitive landscape of the mid-range smartphone market has undergone a significant architectural shift with the sequential release of the Google Pixel 9a and the Google Pixel 10a. Historically, the Google "A-series" has served as a bridge between the premium flagship experience and price-sensitive consumer segments. The Google Pixel 9a, released on April 10, 2025, established a robust baseline for value by integrating the Tensor G4 chipset and a significantly enlarged battery capacity at a $499 price point. Less than a year later, the announcement of the Google Pixel 10a on February 18, 2026, with a market release on March 5, 2026, marked a nuanced refinement of this formula. While the Pixel 10a maintains the same $499 introductory price, it introduces critical advancements in structural durability, display luminosity, and communicative safety that distinguish it from its predecessor. The transition between these two generations re...

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, ...

The Modems Powering The Google Pixel 9a And 10a: A Deep Dive Into Efficiency, Battery Life, And The Real Difference Between 5G And Wifi Usage

  By Diablo Tech Blog | April 13 2026  In the world of smartphones, the modem is the unsung hero—or sometimes the silent villain—of connectivity. It’s the component responsible for handling cellular signals, Wi-Fi, Bluetooth, and now even satellite links. For Google’s mid-range Pixel “a” series, the modem choice has been a point of both praise and scrutiny, especially with the Pixel 9a (launched in 2025) and its successor, the Pixel 10a (early 2026). Both phones share the same Google Tensor G4 chipset and a massive 5,100mAh battery, but their modems differ significantly: the Pixel 9a sticks with the older Samsung Exynos Modem 5300, while the Pixel 10a upgrades to the more advanced Exynos Modem 5400. This in-depth article explores exactly how these modems work, their efficiency in real-world conditions, their impact on battery performance, and the tangible differences you’ll notice when using the phones on 5G versus Wi-Fi. Whether you’re in a bustling city like Mumbai with stro...