Infra, Illustrated.
LINUX FOUNDATIONS · COMPLETE VISUAL TUTORIAL

Understand the Linux machine—not just its commands.

Eight chapters build from identity and files to processes, networking, security, and incident diagnosis. Follow them in order for a complete foundation, or open any chapter as a working reference.

REFERENCE HOST · devbox-018 CHAPTERS · 64 VISUAL LESSONS · APPLIED CHECKSPublished Sep 15, 2026 · Reviewed Sep 18, 2026
HOW TO USE THIS TUTORIAL

Learn the objects, watch the mechanism, then prove it.

  1. ModelName the kernel objects and boundaries involved.
  2. MechanismWork through a concrete state change or decision.
  3. EvidenceConnect commands and output to the state they expose.
  4. PracticeResolve a failure and answer a mechanism check.
LESSON 0 · MACHINE ORIENTATION

Place every later chapter inside one machine

USER SPACE (Ring 3 — Unprivileged Processes)Isolated memory spaces · Cannot access hardware directly
PID 418 · rootnginx: masterBinds privileged TCP/443
PID 421 · UID 33 (www-data)nginx: workerHandles HTTP/TLS traffic
PID 1024 · devbash shellInteractive CLI session
PID 2048 (namespaced)containerized workloadPrivate PID & Net namespace
CPU PRIVILEGE SWITCH↕ SYSTEM CALL INTERFACE (Ring 3 Trap → Ring 0 Kernel Entry: socket(), epoll_wait(), openat(), read(), clone()) ↕
KERNEL SPACE (Ring 0 — Mediates All Hardware & Resources)Full hardware privilege · Memory protection · Process scheduling
Filesystem SubsystemVFS & Page CacheDentries, Inodes, ext4
Process SubsystemCFS Scheduler & task_structRunqueues, Context switches
Networking SubsystemTCP/IP Stack & NetfilterSocket queues, Routing (FIB)
Memory SubsystemVirtual Memory & MMUPage tables, Copy-on-Write
Resource & IsolationNamespaces & Cgroups v2PID/Net/Mount, CPU/RAM limits
HARDWARE & DEVICE CONTROLLERSPhysical bare-metal or hypervisor-virtualized devices
ComputeCPU Cores & MMU8 vCPUs · Ring 0 / Ring 3
Main MemoryPhysical RAM16 GB · 4KB Page Frames
Block StorageNVMe /dev/vdb1Mounted at /srv (ext4)
Network Controllereth0 (10.0.1.17)RX/TX DMA Ring Buffers

HTTPS Ingress Flow: An Ethernet frame arrives on eth0. The NIC driver uses DMA to write to the RX ring buffer and triggers NAPI. Kernel Netfilter evaluates PREROUTING, the routing table confirms destination 10.0.1.17, and the TCP payload is queued in the socket buffer. epoll_wait() wakes up nginx worker PID 421 to read the HTTP request.

TRACE: PACKET → WORKER
COMPLETE CURRICULUM

Eight chapters, in dependency order

Each chapter stands alone, but later chapters deliberately reuse the objects established earlier.

PHASE I

Build the machine model

Learn how Linux names principals and data, then connect paths, permissions, mounts, inodes, and open files.

PHASE II

Run and connect software

Follow programs as processes, services, sockets, packages, and shell pipelines without losing the kernel objects underneath.

PHASE III

Protect and operate the host

Layer security controls, read operational evidence, and isolate failures before changing a live system.

ORIENTATION · DEVBOX-01

The Foundation of Cloud & Containers

Modern cloud infrastructure rests on these exact primitives. Containers do not run separate kernels; they are regular Linux processes running under namespaces and cgroups on this shared host.

From Boot to a Running Service

  1. Firmware & Bootloader: Initializes hardware and loads kernel image + initramfs into RAM.
  2. Kernel Initialization: Mounts root filesystem, initializes device drivers, and starts PID 1.
  3. Init System (systemd): Reads unit files, manages dependency trees, and starts services.
  4. Application Worker: Master process forks unprivileged worker processes and binds sockets.

Containers skip steps 1–3: the host kernel directly executes the container entrypoint inside isolated namespaces.

From / to a Resource

/etc · system configurationhome · user workspacesvar · dynamic logs & databasesproc · virtual kernel state & PIDssys · hardware & device attributesdev · device node special files

“Everything is a file” is a useful shorthand, not a literal rule: many resources can be operated through file descriptors, while pathnames, sockets, devices, and kernel objects still have distinct semantics.

FOLLOW END TO END OR USE AS A REFERENCE

Start with identity if Linux is new to you. If you are debugging a live host, open the relevant chapter and use its grouped lesson index, evidence panels, and applied check.

Start with Identity & Access →
Infra, Illustrated. · Linux foundations for cloud systems.Browse all visuals ↗