Bootcamp Module 1: Linux Mental Model

Before commands, get the picture. Linux isn’t a pile of random tools — it’s a kernel scheduling processes, a filesystem tree, users/permissions, and logs that tell on everyone.

Module 1 of the Linux SysAdmin Bootcamp.

Learning goals

  • Explain process vs program
  • Navigate the filesystem hierarchy with intent
  • Know where logs live and why journald matters
  • Separate “user space problems” from “kernel/hardware problems”

Core ideas (chai version)

Everything is a file is a slogan with exceptions — but sockets, devices, and configs living in a tree teaches you to look in predictable places: /etc, /var, /home, /proc, /sys.

Processes have PIDs, parents, users, and states. When a service “is down,” something either isn’t running, is crash-looping, or is running but not listening.

Permissions are user/group/other plus ownership. Half of early admin pain is “permission denied” — which is the system doing its job.

Lab

  1. Run uname -a, cat /etc/os-release, uptime.
  2. Browse /etc and /var/log (read-only curiosity).
  3. Run ps aux | head and identify a few familiar processes.
  4. Read What is Linux? and skim Is Linux worth learning in 2026?.

Check yourself

Can you explain to a rubber duck what happens after you type a command and hit Enter — roughly? If yes, proceed.

Next: Module 2 — CLI survival →

Processes deeper

Every running program is one or more processes. Parents spawn children. When you stop a service, you’re asking a process tree to exit cleanly. Zombies aren’t horror movie material — they’re entries waiting to be reaped. Knowing this keeps you calm in top.

The filesystem map (practical)

  • /etc — configuration
  • /var — variable data: logs, queues, databases often
  • /home — humans
  • /opt / /usr/local — add-on software
  • /proc / /sys — kernel interfaces (look, don’t randomly poke)

Logs as storytelling

Apps write logs; the journal collects service output; the kernel writes dmesg. Incidents leave footprints. Module 4 will make you fluent — for now, practice journalctl -xe once so it isn’t scary.

Users and trust boundaries

Root can do anything. Sudo is delegated root. Service users should own only what they need. This boundary thinking shows up again in SSH hardening and in container users.

Reflection questions

  1. Where would you look first if a web app can’t write uploads?
  2. What’s the difference between “service stopped” and “server off”?
  3. Why might df and “free space in the file manager” disagree on servers without a GUI?

Further reading on this site

Story: the “slow server” that wasn’t

Junior reports the server is slow. Senior asks: CPU? Disk? Memory? Network? DNS? The junior only looked at a browser spinner. Module 1’s job is to give you categories so you never again say “slow” without a layer. You’ll reuse those categories in every later module and every production incident.

Glossary (keep this)

  • Kernel — schedules CPU, manages memory, talks to hardware
  • Shell — your interface to run commands
  • Daemon/service — long-running background process
  • Unit — systemd’s description of a service/timer/mount
  • Mount — attaching a filesystem at a path

Extended lab: map a real process

Pick your SSH daemon or a web server process. Note PID, user, open ports (ss -ltnp), and a related log stream. Sketch a one-page diagram: client → listener → process → config file → log. That diagram is Module 1 success.

Then compare notes with What is Linux? and adjust vocabulary until you can teach it.

Why mental models beat tool lists

Job descriptions list twenty tools. Incidents ask one question: where is the truth? If you know processes, files, users, and logs, new tools are just new interfaces. If you only memorize kubectl flags, the first non-Kubernetes outage feels like witchcraft.

Spend extra time on /proc curiosity (read-only): cat /proc/uptime, ls /proc/self/fd. You’re peeking at how the kernel exposes reality to user space — the same reality monitoring agents scrape.

Common beginner misconceptions

  • “Reboot fixes everything” — sometimes clears symptoms, rarely teaches causes.
  • “Root is fine on lab forever” — bad habits transfer to production.
  • “GUI is safer” — GUIs hide flags; CLI shows them.

Write a short rebuttal to each in your notes. Teaching yourself out loud sticks.