Cheat Sheets¶
One-page quick references to keep open in a browser tab while you work. Each one groups commands by task, with a short description and a practical example. They're reminders, not tutorials: if a command here is new to you, read the linked chapter first.
Make your own
The best cheat sheet is the one you write. Copy the commands you actually use into your own notes, with your own examples, and delete the rest.
-
Navigation and files
cd,ls,cp,mv,rm, viewing files,tar/gzip/zip, disk usage, and links. -
Permissions
Reading
ls -l,chmodin octal and symbolic form,chown,umask, special bits, andsudo. -
Text processing
grep,sed,awk,cut,sort,uniq,tr,xargs, regular expressions,jq, and classic one-liners. -
Bash scripting
A safe script template, parameter expansion, tests, loops, functions, arrays,
getopts, redirection, and special variables. -
Processes
ps,topandhtopkeys, signals andkill, job control,nice,pgrep/pkill,lsof, and/proc. -
systemd
systemctl,journalctl, a service unit template, a timer template,OnCalendarexamples, andsystemd-analyze. -
Networking
ip,ss,ping,dig,curl,nc,ufw,nmcli, common ports, and a CIDR table. -
SSH
Keys,
~/.ssh/config, the agent,scpandrsync, tunnels,sshdhardening, and troubleshooting. -
Vim and tmux
Vim modes, motions, operators, search and replace, plus tmux sessions, windows, panes, and copy mode.
-
Glossary
Short, precise definitions of every term used in the handbook, from ABI to zombie.