Linux fundamentals
Processes, systemd, permissions, filesystems, journald. Nearly every incident ends in a shell — fluency here is table stakes.
The mental model
Think of a Linux server as an office building. The kernel is building management: it owns the electricity, the floors, and the doors, and nobody talks to the hardware without going through it. Processes are the workers inside — each one gets a badge number (a PID), a desk (memory), and a set of keycards (permissions). systemd is the office manager: it's the first employee in every morning (PID 1), it hires every other worker, restarts them if they collapse at their desk, and keeps an org chart of who depends on whom. The filesystem is the filing room, and journald is the security camera footage — everything every worker said, timestamped and searchable.
Why this matters for DevOps: nearly every incident, no matter how much Kubernetes or Terraform sits on top, ends with a human in a shell on a Linux box asking three questions — what is running, what is it allowed to do, and what did it say before it died? Processes, permissions, and journald are exactly those three questions.
- Deep dive
- Internal architecture
- Real-world use cases
- Best practices
- Common mistakes
- Performance
- Security
- Production troubleshooting
- Advantages & disadvantages
- Alternatives
- Interview expectations
- Interview questions
- Facts to remember
- Cheat sheet
- Quick revision