Linux Labs EspañolES

How a Linux system works, and how to fix it when it breaks

Nine modules from firmware to containers. Each one explains a layer with diagrams you can step through, then puts you in front of the incidents that layer causes in production.

Start with the boot moduleBrowse the labs

Free, no account, no ads, no tracking. Your progress stays in this browser and you can export it.

The layers of a Linux host

9Containers and runtimes
7Services and logs
2Filesystem hierarchy
4Processes3Storage5Networking
8Virtualization
6Security
Each layer links to its module. Grey layers are in preparation.

What every module contains

  • Concepts with animated diagramsStep through the boot chain, a write() going down the storage stack, or a RAID rebuild.
  • Production incidentsSymptom, the commands in the order you would run them, root cause, and how to explain it in an interview.
  • Simulated terminalFix a broken host in the browser. A scenario only counts as solved when the verification commands pass.
  • Quiz and interview questionsGraded questions with explanations, and open questions with a model answer in English.
  • Cheat sheetThe commands that matter, with a filter for the RHEL family or Debian and Ubuntu.
  • Labs for your own VMObjective, setup, steps, verification and a solution you reveal when you are ready. Most use loop devices, so any VM works.

Modules

  1. 1Hardware and bootFrom power-on to a login prompt: POST, UEFI and Secure Boot, GRUB 2, the kernel and initramfs, systemd targets, and the recovery paths you need when one of them breaks.6 sections6 labs4 incidents
  2. 2Filesystem hierarchyWhere every kind of file lives and why: /etc, /usr, /var, /run, /proc and /sys, usr-merge, and the differences between the RHEL and Debian families.In preparation
  3. 3Storage: disks, LVM and RAIDThe block stack from the application down to the device: partitions and stable names, XFS and ext4, LVM with snapshots and thin pools, mdadm RAID, I/O measurement and network storage.7 sections7 labs5 incidents
  4. 4Processes and memoryScheduling, signals and states, cgroups v2, virtual memory, the page cache, swap, the OOM killer, and tuning with tuned and sysctl.In preparation
  5. 5NetworkingInterfaces, routing and DNS, NetworkManager and netplan, bonds and bridges, netfilter with nftables and firewalld, and packet-level troubleshooting.In preparation
  6. 6SecurityUsers, PAM and sudo, SSH hardening, SELinux and AppArmor, auditd, crypto policies and LUKS disk encryption.In preparation
  7. 7Services and logssystemd units and drop-ins, timers, journald and rsyslog, log rotation, and how to read a failing service end to end.In preparation
  8. 8VirtualizationHypervisor types, KVM, QEMU and libvirt, virtio, device passthrough, Proxmox, and how EC2 Nitro moves the hypervisor into hardware.In preparation
  9. 9Containers and runtimesOCI images and runtimes, dockerd, containerd, CRI-O and Podman, runc and crun, namespaces, cgroups, overlayfs, and the CRI path from kubelet to a process.In preparation

Your progress

Kept in this browser only. Export it to keep a copy or move it to another browser.