Topic

Linux

Servers, shells and the open-source plumbing most of the internet runs on.

Linux

Linux

entr and watch: Make Your Terminal Rerun Things So You Don't Have To

Save, switch window, press up, press Enter, squint. Save, switch window, press up... Stop. entr reruns your command whenever a file changes, and watch reruns it on a timer. Two tiny tools, a thousand saved keystrokes.

Tux Harlow4 min read
Linux

Linux

ripgrep: grep, But It Drank Three Espressos and Read Your .gitignore

grep is a legend. It's also happy to search all 80,000 files in node_modules while you wait. ripgrep searches only what matters, very quickly, with sensible defaults. The flags worth knowing, and when old grep still wins.

Tux Harlow4 min read
Linux

Linux

Linux Terminal Toys (and the Surprisingly Useful Tools Hiding Among Them)

A talking cow, a train that punishes typos, the Matrix in your terminal, and hidden among them, six genuinely useful tools you'll keep long after the novelty wears off. A toy box for Linux nerds.

Tux Harlow5 min read
Linux

Linux

The /proc Filesystem: Your Kernel Keeps a Diary and Leaves It Open

Your kernel writes down everything: every process, every open file, how long it's been awake. It keeps it all in /proc, and it never locks the drawer. A tour of the proc filesystem, including how to rescue a file you already deleted.

Tux Harlow4 min read
Linux

Linux

zellij vs tmux: The Terminal Multiplexer Cage Match

tmux is the grizzled veteran who's been keeping SSH sessions alive since 2007. zellij is the new kid who shows you every keybinding at the bottom of the screen. Who wins zellij vs tmux? It depends where you're fighting.

Tux Harlow4 min read
Linux

Linux

Bash Party Tricks: Brace Expansion, !! and Other Shortcuts That Make You Look Like a Wizard

Ever typed a long command, hit Enter, and got "Permission denied"? There's a two-character fix for that, and a dozen more bash shortcuts that turn a minute of typing into a second. Party tricks, but useful ones.

Tux Harlow4 min read
Linux

Linux

journalctl Tricks: Find the One Log Line That Matters in a Haystack of Millions

Your server has written four million log lines since Tuesday, and exactly one of them explains why it crashed. Ten journalctl tricks for filtering by service, time, boot and priority, so you can find it before lunch.

Tux Harlow4 min read
Linux

Linux

bat, eza and fd Review: The Classic Linux Commands Got a Makeover

cat, ls and find have done the same job since before most of us were born. bat, eza and fd do it with colours, Git awareness and fewer flags to memorise. A review of the makeover, plus the one rule for keeping your server skills sharp.

Tux Harlow4 min read
Linux

Linux

tmux Sessions: Keep Your Terminal Alive When SSH Drops

A dropped SSH connection takes your shell, your half-finished upgrade and your scrollback with it. tmux sessions keep running on the server so you can detach, reconnect and pick up where you left off.

Tux Harlow4 min read
Linux

Linux

The ss Command: The netstat Replacement You Already Have Installed

netstat is gone from most fresh installs, and its replacement has been sitting in iproute2 the whole time. Here's how the ss command answers "what's listening?" and "who's connected?" in one line each.

Tux Harlow4 min read
Linux

Linux

btop vs htop: The Process Monitor Showdown Nobody Asked For

htop is the reliable friend who shows up to every server in sweatpants. btop arrives in a tux with live graphs and a light show. Who wins btop vs htop? Both, depending on where you're standing.

Tux Harlow4 min read
Linux

Linux

fzf: Fuzzy-Find Everything and Never Scroll Your Shell History Again

Ever pressed the up arrow 47 times looking for that one docker command from last Tuesday? fzf turns your history, your files and your folders into a search box that forgives your typos.

Tux Harlow3 min read