A comprehensive, hands-on guide for staff engineers to master Linux internals and map them directly to Kubernetes and DevOps pipelines.
You're a staff engineer who wants to:
- Deeply understand Linux — not just use it, but know why things work
- Map Linux concepts to Kubernetes — every K8s concept has a Linux foundation
- Build DevOps pipelines with confidence in the underlying OS
- Work across Windows and Linux without friction
┌─────────────────────┐
│ YOU ARE HERE │
│ Staff Engineer │
└─────────┬───────────┘
│
┌───────────────────┼───────────────────┐
▼ ▼ ▼
┌────────────────┐ ┌───────────────┐ ┌────────────────┐
│ PART 1-3 │ │ PART 4 │ │ PART 5 │
│ Linux Core │ │ Networking │ │ Shell/Automate │
│ FS, Procs, │ │ from Scratch │ │ Scripting, │
│ Permissions │ │ TCP/IP, DNS, │ │ systemd, cron │
└───────┬────────┘ │ iptables │ └───────┬────────┘
│ └───────┬───────┘ │
└───────────────────┼──────────────────┘
▼
┌────────────────────────┐
│ PART 6 │
│ Containers & Linux │
│ Internals │
│ namespaces, cgroups, │
│ overlayfs │
└────────────┬───────────┘
│
┌────────────┼────────────┐
▼ ▼
┌──────────────────┐ ┌──────────────────┐
│ PART 7 │ │ PART 8 │
│ Kubernetes │ │ DevOps Pipelines │
│ Linux ──► K8s │ │ CI/CD, GitOps, │
│ concept mapping │ │ Monitoring │
└──────────────────┘ └──────────────────┘
| # | Guide | What You'll Learn | Key K8s Connection |
|---|---|---|---|
| 1 | Linux Fundamentals | Kernel, shell, boot process, distros | How K8s nodes boot and run |
| 2 | File System & Permissions | Everything is a file, mount, chmod, ACL | PV/PVC, SecurityContext |
| 3 | Process Management | PIDs, signals, cgroups, systemd | Pod lifecycle, resource limits |
| 4 | Networking from Scratch | TCP/IP, sockets, iptables, DNS, bridges | Services, Ingress, CNI, kube-proxy |
| 5 | Shell Scripting & Automation | Bash, pipes, scripting patterns, cron | Init containers, CronJobs, operators |
| 6 | Containers & Linux Internals | Namespaces, cgroups, overlayfs, building containers from scratch | Pod sandboxing, container runtimes |
| 7 | Linux-to-Kubernetes Mapping | Every K8s concept traced to its Linux root | Full concept mapping |
| 8 | DevOps Pipelines | CI/CD, GitOps, monitoring, IaC | Production-grade pipelines |
| Cheat Sheet | Description |
|---|---|
| Linux Command Cheat Sheet | 200+ essential commands organized by category |
| Networking Cheat Sheet | Ports, protocols, debugging commands |
| Windows-to-Linux Bridge | Side-by-side command mapping for dual-OS users |
| Mind Map | Visual learning path with concept connections |
# Clone this repo
git clone <this-repo-url>
cd LinuxProgramming
# If you're on Windows, use WSL2
wsl --install -d Ubuntu-22.04
# Start with Part 1
cat docs/01-linux-fundamentals.md
# Run the practice scripts
chmod +x docs/scripts/*.sh
./docs/scripts/01-explore-system.sh"Every Kubernetes abstraction is a Linux primitive wearing a YAML costume."
This guide doesn't just teach you Linux commands. It teaches you why each concept exists, how it works internally, and where it shows up in Kubernetes and DevOps tooling.