Sign in
track

Linux

The minimum you need before anything else works: filesystem, permissions, processes, pipes.

Your own environment on Windows

Install WSL, set up a user, and figure out where to keep your files so you can do the tasks locally.

Basics

Booting

What happens from pressing the power button to login: firmware, bootloader, kernel, initramfs, systemd, udev.

Processes in depth

Lifecycle, states, signals, zombies, daemons, and watching processes.

File system in depth

File types, links, /proc and /sys, tmpfs, partitions, swap, RAID.

Memory

Virtual memory, pages, page cache, swap, and the OOM killer.

Isolation

Namespaces, cgroups, and how an ordinary process becomes a container.

Tools

Team processes

Administration

01 theory
systemd: units and services

How systemd starts and keeps services running: unit files, systemctl, autostart, and dependencies.

13 min · medium
02 theory
Service logs: journald and journalctl

Where systemd stores logs and how to read them: journalctl, filtering by unit, time, and priority, and following in real time.

11 min · medium
03 theory
Package managers: apt, dnf, apk

How to install and update software across distros: repositories, update vs upgrade, and the difference between apt, dnf, and apk.

10 min · easy
04 theory
Schedules: cron and crontab

How to run jobs on a schedule: the five-field crontab format, common mistakes, and where the output goes.

10 min · easy
05 theory
Environment variables and .env

What environment variables are, how processes set and inherit them, and why app config lives in the environment.

10 min · easy
06 theory
Disk: df, du, mount, inode

Where disk space goes and why you get "disk full": df vs du, mount points, inodes, and deleted-but-open files.

11 min · easy
07 theory
JSON and jq

How to parse JSON in the shell: jq for filtering fields, arrays, and API output without eyeballing it.

10 min · easy
08 theory
File systems and inodes

What an inode is, why "there's space but the file won't create", and how a hard link differs from a symlink.

10 min · easy
09 theory
File descriptors and /proc/<PID>/fd

What an fd is, where "too many open files" comes from, and how to find a descriptor leak.

10 min · medium
10 theory
Process limits: ulimit, limits.conf, and systemd

Soft and hard limits, the open-files limit under load, and where to raise them for services.

10 min · medium

Security

Operations

Backups

What protects against what: RAID and replication vs. backup, RPO and RTO, snapshots, databases, and restic.

01 theory
What a backup is not

RAID, replication, and snapshots look like insurance, but they protect against different things. We break down which data loss scenario each mechanism actually covers.

12 min · easy
02 theory
RPO and RTO: the two numbers your backup scheme grows from

How much data you can afford to lose, and how fast the system must come back up. How these requirements determine backup frequency and storage method.

11 min · easy
03 theory
The 3-2-1 rule and why two more numbers got added to it

Three copies, two kinds of media, one copy off-site. What immutable storage adds, and why zero verification errors became part of the scheme.

12 min · easy
04 theory
Full, incremental, differential backups, and how long to keep them

How restore chains work, how deduplication differs from an incremental backup, and how the grandfather-father-son retention scheme works.

13 min · medium
05 theory
Snapshots: LVM, ZFS, and disks in the cloud

How a snapshot happens in a second, how copy-on-write differs from a copy, and why the difference between crash-consistent and application-consistent matters for a database.

13 min · medium
06 theory
RAID: what it actually gives you

Mirroring, parity, and striping in plain terms. Degradation, rebuild, the risk of a second failure, and why RAID belongs in a backup track.

13 min · medium
07 theory
Database backups: logical, physical and PITR

How pg_dump differs from copying the cluster's files, why you need a WAL archive, and how to restore to the minute before a bad query.

14 min · medium
08 theory
restic in practice: repository, snapshots, restore

File backup with deduplication and encryption: init, backup, snapshots, restore, forget with prune, and check.

15 min · medium
09 quiz
Check: backups

Nine questions on RPO and RTO, the 3-2-1 rule, snapshots, RAID, PITR, and restic. You can retake it.

8 min · medium