Linux & Server Cheat Sheets
The commands you look up every week, in one scannable table each. Every entry is copy-paste ready.
Linux
awk Command Examples
Column-wise text processing with paste-ready one-liners.
Bash
Linux commands, script syntax, and readline shortcuts.
chmod
Octal and symbolic permissions, special bits, and safe recursion.
find Command in Linux
Locate files by name, type, age, or size, then act on them.
grep Command Examples
Search files and pipes with the everyday flags and regex syntax.
rsync Commands
Copy and mirror over SSH with excludes, resume, and dry runs.
sed Examples
Stream editing: replace, delete, insert, and in-place file edits.
tar Command Examples
Create, extract, and compress archives, with every flag explained.
zsh Commands
Aliases, globbing, plugins, and PATH on the Mac default shell.
Processes & Debugging
htop Commands
Sort, filter and kill processes, and read what top shows you.
lsof Examples
Find what is using a port, a file, or a mount, and read the output.
PM2 Commands
Run Node apps with logs, cluster mode, and boot persistence.
ps Command Examples
ps aux, ps -ef, and what every column in the output actually means.
strace Examples
Attach to a running process, filter syscalls, and read the output.
Web Servers & Proxies
Networking
curl Command
Requests, auth, downloads, debugging, and exit codes.
dig Command Examples
The dig DNS queries admins actually run, and how to read the answer.
netstat Commands
Find what is using a port with netstat -ano, ss, and lsof.
tcpdump Command Examples
Filter packets, read the output, save pcap for Wireshark.