Skip to content

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.

    Open

  • Permissions


    Reading ls -l, chmod in octal and symbolic form, chown, umask, special bits, and sudo.

    Open

  • Text processing


    grep, sed, awk, cut, sort, uniq, tr, xargs, regular expressions, jq, and classic one-liners.

    Open

  • Bash scripting


    A safe script template, parameter expansion, tests, loops, functions, arrays, getopts, redirection, and special variables.

    Open

  • Processes


    ps, top and htop keys, signals and kill, job control, nice, pgrep/pkill, lsof, and /proc.

    Open

  • systemd


    systemctl, journalctl, a service unit template, a timer template, OnCalendar examples, and systemd-analyze.

    Open

  • Networking


    ip, ss, ping, dig, curl, nc, ufw, nmcli, common ports, and a CIDR table.

    Open

  • SSH


    Keys, ~/.ssh/config, the agent, scp and rsync, tunnels, sshd hardening, and troubleshooting.

    Open

  • Vim and tmux


    Vim modes, motions, operators, search and replace, plus tmux sessions, windows, panes, and copy mode.

    Open

  • Glossary


    Short, precise definitions of every term used in the handbook, from ABI to zombie.

    Open

Which chapter goes with which sheet?

Cheat sheet Main chapters
Navigation and files Your first commands, Working with files, Archives and compression, Filesystems, inodes, and links
Permissions Users, groups, and sudo, Permissions
Text processing Pipes and redirection, Text processing
Bash scripting All of Level 2
Processes Processes and signals, Devices, /proc, and /sys
systemd systemd and journalctl, Scheduling tasks, Your program as a service
Networking Networking basics, Firewalls with ufw
SSH SSH
Vim and tmux Vim essentials, tmux