Command Palette

Search for a command to run...

Hectal
PHASE 0Beginner ~12 min· topic 1 of 4

Topic 0.1

Why Linux Runs the Backend

In one line

Almost every web server, cloud VM, and container on earth runs Linux — not because it's trendy, but because it's free, stable, scriptable, and built from day one to run unattended for years without a GUI.

0/4 · 0%

Think of it like this

A commercial kitchen versus a home kitchen. A home kitchen (a desktop OS with a GUI) is built for one person doing varied, interactive tasks. A commercial kitchen (a Linux server) is built to run the SAME few processes, unattended, at massive scale, for years — no need for a mouse or a start menu, every action is a precise, repeatable command.

Key ideas

  1. 01

    Linux is free and open-source — anyone can run it, inspect its source code, and modify it, with no per-server licensing cost. At cloud scale (thousands of machines), that difference alone is enormous compared to a licensed OS.

  2. 02

    Linux was built from the ground up as a multi-user, networked, unattended system — it can run headless (no monitor, no GUI) for years, restart services automatically on crash, and be entirely controlled over a network connection (SSH) from anywhere in the world.

  3. 03

    Nearly the entire cloud runs on it: AWS, Google Cloud, and Azure's underlying infrastructure is overwhelmingly Linux; most public Docker base images (node, python, eclipse-temurin) are Linux distributions; and the Linux kernel is literally what your Docker containers share on any host, Windows or Mac included (Docker Desktop runs a tiny real Linux VM under the hood specifically to provide this).

  4. 04

    The one-sentence pitch you should be able to give in an interview: 'Linux is free, stable, scriptable, and built for unattended, networked operation — which is exactly what a server needs to do, so it became the default OS for virtually all backend infrastructure.'

  5. 05

    What Linux is NOT: it's not one single thing — 'Linux' technically refers to just the kernel, and what people call 'Linux' day to day is really a DISTRIBUTION (Ubuntu, Debian, Fedora, Amazon Linux) that bundles the kernel with a package manager, default tools, and configuration choices. Different distros feel different but share the same underlying kernel and core commands.

Explain it without notes

01

Why does 'Linux' technically refer to something narrower than what most people mean when they say it?

02

Give one concrete reason a company would choose Linux for a production server over a licensed desktop OS, beyond just 'it's free.'

Practice

01

If you have access to any Linux machine (a cloud VM, WSL2 on Windows, or a Mac's Terminal, which is Unix-like and very similar), run uname -a and read every field of the output.

02

Look up which specific Linux distribution the base image of any Docker image you've used (e.g. node:20-slim, eclipse-temurin:17-jre) is actually built on — most official images document this directly.

Trade-offs

  • ↔

    Linux's flexibility is also its steepest learning curve — a desktop OS holds your hand with GUIs for nearly everything; Linux expects you to learn the command line, which is a real up-front time investment that pays for itself the moment you need to operate a server you can't physically touch.

Done when you can

  • I can explain the actual difference between 'the Linux kernel' and 'a Linux distribution.'

  • I can give two concrete reasons Linux dominates server infrastructure, beyond 'it's free.'

  • I've run at least one real command on a real Linux (or Linux-like) terminal.