Cheat sheet
grep cheat sheet
Search text and logs with grep: the flags for context, recursion, regular expressions and counting, plus when to reach for ripgrep.
Cheat sheet
Search text and logs with grep: the flags for context, recursion, regular expressions and counting, plus when to reach for ripgrep.
Cheat sheet
Find files by name, type, size, age and permissions, and act on them safely with -exec, -delete and xargs.
Cheat sheet
HTTP from the terminal with curl: headers, methods, JSON APIs, auth, downloads, TLS checks and timing a request phase by phase.
Cheat sheet
Split, filter, sum and reformat columns with awk: fields, separators, conditions and the one-liners I use on logs and command output.
Cheat sheet
Ad-hoc commands, inventories, playbook flags, check and diff mode, tags, limits and Vault: the Ansible commands I run every day.
Cheat sheet
What Linux's special files do and how to use them: discard output, make test and swap files, wipe disks, generate random data and secrets, and test disk speed.
Cheat sheet
Create, list, extract and compress archives with tar: the flags I actually use, with gzip, xz and zstd.