In this chapter
We'll compare Windows, Linux and macOS, see the difference between desktop and server operating systems, and learn why almost every server — including BlueTicket's — runs Linux.
The Problem in Real Life
Anna's laptop runs Windows. John's runs macOS. BlueTicket's servers run Linux — with no desktop, no mouse, just a terminal. And the phones scanning tickets at the venue gate run Android.
"Four different operating systems, and we use all of them every day," Anna says. "Why doesn't everyone just use the same one?"
If they all do the same job, why are there so many?
Anna
"The Best OS" vs. the Right OS for the Job
Same jobs, different choices
Every OS manages processes, memory, files and devices — but each was built for different people and needs.
Desktops and servers are different worlds
A laptop needs a friendly screen; a server needs to run for months with nobody watching.
Windows, Linux and macOS — and Desktop vs. Server
All operating systems do the jobs from this Act. They differ in who makes them, what they cost, how open they are, and what they're best at.
- Windows (by Microsoft) — the most common desktop OS in the world. Runs on computers from many brands, has the widest support for office software and games, and is common in companies. It also has a server version (Windows Server), used mainly by companies built around Microsoft tools.
- macOS (by Apple) — runs only on Apple computers. Known for polished design and tight hardware-software integration. Underneath it is a Unix-based system, so its terminal works much like Linux — one reason many developers like it.
- Linux — a free, open-source kernel: anyone can read, use and change its code. Linux is usually installed as a distribution ("distro"): the kernel plus tools and apps, packaged together — for example Ubuntu, Debian, Fedora or Red Hat Enterprise Linux. It is less common on desktops, but it runs most of the world's servers, the cloud, supercomputers, and many devices. Android is built on the Linux kernel too.
| Feature | Windows | Linux | macOS |
|---|---|---|---|
| Made by | Microsoft | Open-source community + companies | Apple |
| Cost | Paid licence | Usually free | Comes with a Mac |
| Runs on | Most PCs | Almost anything | Apple computers only |
| Most common for | Desktops, offices, games | Servers, cloud, devices | Creative work, developers |
| Terminal | PowerShell, Command Prompt | Bash and others | zsh (Unix-like) |
| File system | NTFS | ext4 (and others) | APFS |
| Feature | Desktop OS | Server OS |
|---|---|---|
| Used by | One person at the screen | Many users over the network |
| Graphical interface | Yes | Usually none |
| Managed | Locally | Remotely, by terminal |
| Restarts | Often fine | Avoided — runs for months |
| Updates | Frequent, with new features | Long-term support, mostly security fixes |
| Example | Windows 11, macOS | Ubuntu Server LTS, Windows Server |
Desktop OS vs. server OS: A desktop OS is made for one person sitting in front of the screen: windows, a mouse, apps, sound, updates that can restart the machine at night. A server OS is made for machines that serve many users over the network, often in a data centre with no screen at all. It usually has no graphical interface (saving memory and reducing things that can break), is managed remotely through a terminal, is built to run for months without restarting, and often uses long-term support (LTS) versions that get security fixes for many years without big changes.
Why BlueTicket's servers run Linux — John counts on his fingers. It's free, so running fifty servers doesn't mean fifty licences. It's stable and needs few restarts. It's the standard in the cloud — every cloud provider is built around it. It's light: no desktop means more RAM and CPU for the app. It's easy to automate, because everything can be done with commands and scripts. And the tools BlueTicket uses later, like Docker (Act 21), were born on Linux.
Developers can use any OS on their own laptop — BlueTicket has all three. What matters is understanding that the code will finally run on Linux. That's why the next Act teaches the Linux terminal, even to someone on Windows.
Key Takeaway
Windows, macOS and Linux all manage processes, memory, files and devices, but serve different needs: Windows leads on desktops, macOS on Apple hardware, and open-source Linux on servers and the cloud. Server operating systems run without a screen, are managed remotely and are built to run for months — which is why almost every server, including BlueTicket's, runs Linux.
Why This Matters
Whatever laptop you use, your code will almost certainly run on Linux in production. Knowing the differences explains a lot of everyday surprises — a path that works on Windows but not Linux, a file name that is case-sensitive on the server, a script that needs Bash. It's also the bridge to the next Act, where Anna learns the Linux command line properly.
Anna's week ends with a working laptop, a fixed file, and a clear picture of what the operating system does. Before the next Act, John has a small test for her: three broken machines, three different OS problems.
