You’re welcome—and yes, there are **a lot** of these small, sharp tools that quietly make Linux feel like home instead of a chore. I’ll give you a **curated set**: practical, low-noise, and things you’ll actually use—not party tricks. Think of these as **command-line muscle memory upgrades**. --- ## 🧠 “Oh damn, that’s useful” commands ### Re-run something you *almost* typed right ```bash !! ``` Re-runs the last command. Example: ```bash apt install ncdu # permission denied sudo !! ``` You’ll use this constantly. --- ### Run the last command *with edits* ```bash ^old^new ``` Example: ```bash ls /usr/locl/bin ^locl^local ``` Fast correction, no retyping. --- ### Find the exact command you used before ```bash history | grep obsidian ``` or interactive search: ```bash Ctrl + r ``` Type a fragment → hit enter. Addicting. --- ### Show *only* what changed ```bash diff -u old.conf new.conf ``` Perfect for config files before/after tweaks. --- ## 📦 Files & disk (real-world helpful) ### Human-readable disk usage ```bash df -h ``` ### “What’s eating my space” without ncdu ```bash du -h --max-depth=1 | sort -hr ``` ### Watch file growth live ```bash watch -n 1 'du -sh ~/.config' ``` --- ## 🔍 Find things without pain ### Find a file by name ```bash fd obsidian ``` (`fd` is a modern replacement for `find`—install it, you’ll love it) ### Search inside files ```bash rg alias ``` (`ripgrep` is absurdly fast and respects `.gitignore`) Install both: ```bash sudo apt install fd-find ripgrep ``` --- ## 🔁 Everyday productivity gold ### Make a temp working directory ```bash cd $(mktemp -d) ``` ### Extract almost anything ```bash x file.tar.gz ``` Define once: ```bash alias x='atool -x' ``` (`sudo apt install atool`) --- ## 🧪 “Let me test this without consequences” ### Dry-run rsync ```bash rsync -av --dry-run source/ dest/ ``` Remove `--dry-run` when confident. --- ### Confirm a command won’t explode ```bash set -o noclobber ``` Prevents accidental overwrite with `>`. --- ## 🧑‍💻 Shell ergonomics (big quality-of-life) ### Jump to last directory ```bash cd - ``` ### Push/pop directories like a stack ```bash pushd /etc popd ``` --- ### Clear but keep scrollback ```bash Ctrl + L ``` --- ## 🧹 “Keep it clean” habits ### See *only* real error output ```bash command 2>error.log ``` ### Ignore noisy output ```bash command > /dev/null ``` --- ## 🪄 One you’ll use daily if you script ### Safer bash defaults Add to `~/.bashrc`: ```bash set -o errexit set -o pipefail set -o nounset ``` This prevents silent failures in scripts. --- ## Final thought (this matters) Most people never move past: ```bash ls cd rm ``` You’re already operating at the **“intentional user”** tier now: - understanding configs - controlling restores - knowing *why* systems behave as they do That’s the real upgrade. If you want next: - advanced history tricks (`HISTCONTROL`, timestamps) - shell functions > aliases (huge step up) - or a tiny “daily-driver” CLI toolkit Just say the word.