Recall first: read each stage's one-line summary and try to remember its commands. Then open the stage to check yourself.
16 stages32 commands
nano -l notes.txtOpen a file in nano with line numbers
vim app.confOpen a configuration file in vim
i to insert text and Esc to return to commands.Watch for In vim, typing while still in Normal mode runs editor commands instead of inserting text.
Open the lesson: Editing files: nano, vim, and changing a server safely →PATH, expands variables and patterns, and connects stdin, stdout and stderr. Know which account and shell context a command uses.type cdCheck whether a command is a shell builtin or external program
man 5 crontabOpen the manual for the crontab file format
> replaces a file; >> appends to it.2> redirects errors; a pipe passes stdout to the next command.Watch for cd is a shell builtin, so looking for a separate cd executable misses the point.
chmod 640 app.envGive the owner read/write and the group read access
ls -l deploy.shInspect a file's mode and ownership before executing it
Watch for chmod 777 is not a general fix; grant only the access the user or service needs.
grep '" 500 ' access.logFind log lines with an HTTP 500 status
tail -f access.logFollow new log lines as they arrive
grep, cut, sort, uniq, wc, awk and sed as composable tools.Watch for tail -f keeps running; press Ctrl+C when you have the lines you need.
hostnamectl | head -n 3Identify the host and see its basic operating-system details
uptimeRead uptime and the system load averages
Watch for High load alone does not prove the CPU is saturated; inspect the processes and I/O state.
Open the lesson: Server review: a five-minute health check →ps aux --sort=-%cpu | head -5Show the five processes using the most CPU
pstree -p | head -n 12Inspect parent/child process relationships
Watch for Killing a parent or using SIGKILL first can interrupt cleanup and leave work inconsistent.
idShow the current user's UID and group memberships
getent group devopsLook up a group through the system's configured identity sources
Watch for Editing /etc/sudoers directly can break sudo; validate changes with the tool taught in the lesson.
systemd starts services, restarts them under policy and records their logs. Separate a one-time start from enabling a service for future boots.systemctl status nginxInspect whether nginx is running and see recent status details
journalctl -u cron -n 20Read the latest journal entries for nginx
start affects the current boot; enable configures startup at boot.journalctl -u SERVICE to narrow the journal to one unit.Watch for A service that is running now may still be disabled for the next reboot.
Open the lesson: Services with systemd: run, restart, read the logs →apt-cache policy curlCheck the installed and repository candidate versions of curl
apt-get -s install treeSimulate an installation without changing the system
Watch for Don't mix package managers for the same software; use the system's supported source.
Open the lesson: Packages: install, update and trust software →fstab.lsblk -fList block devices with filesystem and UUID information
df -ThCheck filesystem type, capacity and usage for mounted filesystems
lsblk shows devices; df shows space on mounted filesystems./etc/fstab, and should be checked before rebooting.Watch for A new disk is not automatically a mounted filesystem; verify each step in the storage stack.
Open the lesson: Disks and filesystems: add, mount, grow and repair →systemd. When boot fails, use the available console and previous-boot logs to locate the stage that stopped.cat /proc/cmdlineRead the kernel arguments used for the current boot
journalctl -b -1 -p errReview errors from the previous boot
Watch for Do not edit generated grub.cfg directly; regenerate it from the maintained configuration.
ip -br addrShow interface state and addresses in a compact form
getent ahostsv4 example.comResolve a hostname through the system's configured name service
scp and rsync move files over SSH.Watch for A successful DNS lookup does not prove that a service port is reachable.
Open the lesson: Networking: addresses, DNS, routes and SSH →chmod +x hello.shMake the script executable
./hello.sh teamRun the script from the current directory with an argument
Watch for ./script runs a file in the current directory; the shell does not search . in PATH by default.
sudo ss -tlnpShow listening TCP ports and the owning processes
ping -c 3 1.1.1.1Check basic IP reachability with three ICMP requests
Watch for A failed ping alone does not prove the application is down; ICMP may be filtered.
Open the lesson: Troubleshooting the network: from "it is down" to the cause →ls /proc/self/nsList the namespace handles for the current process
stat -fc %T /sys/fs/cgroupIdentify the filesystem backing the cgroup hierarchy
Watch for Containers share the host kernel; they are not lightweight virtual machines.
Open the lesson: Containers are Linux: namespaces, cgroups and Docker →