Code

Linux

How Linux actually works, from the kernel up: narrated, animated lessons with a command to try after each scene.

Chapter 1: How Linux Actually Works

Kernel, file tree, processes, /proc, pipes & file descriptors, and memory layout.

6 scenes · 5 min

Chapter 2: Permissions, Users, SUID & Capabilities

UID/GID identity, rwx octal permissions, SUID/SGID/Sticky bits, sudo, Linux capabilities, and privilege escalation checks.

6 scenes · 4 min

Chapter 3: Tracing Live Programs (strace, ldd & ss)

Observing system calls, filtering file and network activity, inspecting ELF binaries and shared libraries, and reading live sockets.

6 scenes · 4 min

Chapter 4: Shell Pipelines, Text Tools & Scripting

Quoting & expansion, exit codes, defensive Bash (set -euo pipefail), grep/awk/sed pipelines, find/xargs, and signals.

6 scenes · 4 min

Chapter 5: Services, Logs, Storage & Networking

Boot & PID 1 (systemd vs containers), logs, disks & inodes (df/du/stat), ip addr/route, DNS & curl, and outage triage.

6 scenes · 4 min

Chapter 6: Linux Security, Namespaces & Hardening

Attack surface audits, container namespaces & cgroups, SSH hardening, default-deny firewalls, binary/kernel mitigations, and defense in depth.

6 scenes · 4 min

Chapter 7: Filesystems, Mounts, Links, Disks & Recovery

Block devices, ext4/XFS/Btrfs/ZFS/tmpfs, hard vs. symbolic links, /etc/fstab, mount security flags, and fsck/dd recovery.

6 scenes · 4 min

Chapter 8: systemd Deep Dive (Units, Timers & Hardening)

Unit file anatomy, dependency ordering, drop-in overrides, systemd timers vs. cron, journald queries, and unit sandboxing.

6 scenes · 4 min

Chapter 9: Packages, Building From Source & Shared Libraries

apt/dpkg forensics, gcc & Makefiles, static vs. dynamic ELF linking, ld.so library search order, and LD_PRELOAD hooking.

6 scenes · 4 min

Chapter 10: Advanced Networking & Packet Capture

tcpdump & BPF packet filters, Linux bridges & veth pairs, ARP/neighbor tables, WireGuard/Tailscale tunnels, SSH forwarding, and nftables.

6 scenes · 4 min

Chapter 11: Performance & Resource Profiling

USE methodology, CPU & load average, Linux page cache vs. free RAM, OOM killer scoring, ulimits, and perf flamegraphs.

6 scenes · 4 min

Chapter 12: Kernel Internals, Modules, sysctl & eBPF

Kernel ring buffer (dmesg), loadable modules (.ko), live sysctl tuning, virtual memory & Copy-on-Write, and eBPF observability/XDP.

6 scenes · 4 min

Chapter 13: Enterprise Security (PAM, auditd, MAC & LUKS)

Pluggable Authentication Modules (PAM), AppArmor vs. SELinux Mandatory Access Control, kernel syscall auditing (auditd), LUKS disk encryption, and integrity.

6 scenes · 4 min

Chapter 14: Real-World Break/Fix, Forensics & Pentest Labs

GRUB & chroot boot rescue, live incident forensics, hunting persistence & backdoors, production hardening, and Linux mastery capstone.

6 scenes · 4 min