apt / yum / dnf     Install, update, remove packages ................. Ch 9
awk                 Column-based text processing ..................... Ch 19
bg                  Resume a paused job in the background ............ Ch 7
case / esac         Multi-way branching ............................... Ch 11
cat                 Print a file's full contents ...................... Ch 5
cd                  Change directory ................................... Ch 2
chmod               Change file permissions ............................ Ch 4
chown               Change file ownership .............................. Ch 4
cp                  Copy files or directories (-r) ..................... Ch 3
cron / crontab      Schedule recurring jobs ............................ Ch 18
curl                Make HTTP requests from the command line ........... Ch 15
cut                 Extract columns from delimited text ................ Ch 6
dig                 Resolve a domain name to an IP ..................... Ch 15
df                  Show disk space per filesystem ..................... Ch 19
du                  Show disk usage per file/directory ................. Ch 19
fail2ban            Ban IPs after repeated failed logins ............... Ch 17
fg                  Bring a background job to the foreground ........... Ch 7
for / while / until Loop constructs ..................................... Ch 12
free                Show memory usage ................................... Ch 19
grep                Search text for a pattern ........................... Ch 5
head / tail         Show the start / end of a file (-f to follow) ....... Ch 5
id                  Show your UID, GID, and group memberships .......... Ch 8
if / elif / else    Conditional branching ............................... Ch 11
ip addr             Show network configuration .......................... Ch 15
jobs                List background jobs ................................ Ch 7
journalctl          View systemd service logs ........................... Ch 9
kill                Send a signal to stop a process (-9 to force) ....... Ch 7
less                Page through a file interactively ................... Ch 5
logrotate           Rotate, compress, and expire log files .............. Ch 18
ls                  List directory contents (-la for details) .......... Ch 2
mkdir               Create a directory (-p for nested paths) ............ Ch 3
mv                  Move or rename a file ................................ Ch 3
nano / vim          Terminal text editors ................................ Ch 6
nohup               Detach a process from your session .................. Ch 7
ping                Test basic network reachability ...................... Ch 15
ps aux               List running processes ............................... Ch 7
pwd                 Print the current working directory .................. Ch 2
read                Read user input into a variable ...................... Ch 10
rm                  Remove files or directories (-rf, no undo) .......... Ch 3
rsync               Efficiently sync files/directories ................... Ch 16
scp                 Copy files over SSH ................................... Ch 16
sed                 Stream editor — find and replace (-i to save) ..... Ch 6
set -euo pipefail   Safer script defaults ................................. Ch 20
shellcheck          Lint a script for common mistakes .................... Ch 20
sort / uniq         Order lines / remove duplicates (-c to count) ....... Ch 6
ss -tulpn           Show what's listening on local ports ................. Ch 15
ssh                 Open a secure remote shell ............................ Ch 16
ssh-keygen           Generate an SSH key pair .............................. Ch 16
sudo / visudo       Run as root / safely edit sudoers .................... Ch 8
systemctl           Start, stop, enable, check services ................. Ch 9
tar -czf            Compress a directory into an archive ................. Ch 18
top                 Live process viewer .................................... Ch 7
touch               Create an empty file / update its timestamp ......... Ch 3
trap                Run cleanup code on script exit ...................... Ch 20
ufw                 Simplified firewall management ........................ Ch 17
useradd / usermod   Create and manage user accounts ...................... Ch 8
whoami               Print your current username ........................... Ch 1
