Cheat sheet
Slow Linux server checklist
The first minutes on a slow Linux server: load, CPU, memory, disk I/O, network and the kernel log, with what each number means.
// cheat sheet
Compact, regularly updated references for the tools I use every day.
Cheat sheet
The first minutes on a slow Linux server: load, CPU, memory, disk I/O, network and the kernel log, with what each number means.
Cheat sheet
Sort lines by number, size, version or a single column, remove or count duplicates, and rank the most common values with sort and uniq.
Cheat sheet
SSH keys, config, jump hosts, port forwarding, scp and sshd hardening: the commands and settings I use on every server.
Cheat sheet
Manage systemd services with systemctl: status, restarts, enabling at boot, drop-in overrides, dependencies, timers and user services.
Cheat sheet
Create, list, extract and compress archives with tar: the flags I actually use, with gzip, xz and zstd.
Cheat sheet
Save a command's output to a file while still passing it on: logging long jobs, writing root-owned files with sudo, and splitting a stream to several places.
Cheat sheet
Slice and reshape text on the command line with cut, tr, paste, column, comm, join, sort and awk: columns, CSV, joins and set operations.
Cheat sheet
Keep SSH sessions alive and split your terminal with tmux: sessions, windows, panes, copy mode, the commands I use and a minimal config.
Cheat sheet
Turn lines of input into command arguments with xargs: safe handling of spaces, one command per item, placeholders, parallel jobs and dry runs.