Ditching Windows: My First Taste of Linux
Phase 1 · The Spark and the Scrap
A blinking cursor, a first apt upgrade that broke the network, and the quiet shift from clicking on icons to commanding a machine.
Designers who code carry a comfort zone. For years mine was a polished desktop environment with a thousand small conveniences: search bars, finder sidebars, drag-and-drop everything. The first time I logged into a fresh Ubuntu server and saw nothing but a blinking cursor on a black screen, I felt the comfort zone evaporate. No sidebar, no icons, no clues. The machine was waiting for me to speak, and I did not yet know the language.
If you have spent years arguing for better UX in corporate software, the first night in the command line is humbling. The interface is not hostile; it is simply silent. It will not scold you, but it will not help you either. You type, it responds, and the conversation is yours to run.
The Analogy
Using a graphical operating system is like taking a guided coach tour. The route is set, the coach is heated, the seats recline. You do not need to understand how the engine works to reach the museum. The designers made the decisions for you to keep you moving.
A Linux server, accessed through a command line, is closer to flying a small aircraft with manual controls. There is no tour guide. There are dozens of instruments, and the wrong lever at the wrong moment can end the flight. It is slower to learn, but once you know the controls you are no longer limited to the pre-planned route. You can land where the coach does not go.
The Tech Translated
Why choose the aircraft? Two reasons: efficiency and repeatability.
A graphical user interface draws windows, renders shadows, tracks the mouse cursor thirty times a second, and keeps a compositor running in the background. All of that work costs memory and processor cycles. A headless server with no graphical layer at all can dedicate the full hardware to the service it is meant to run, which on an old machine is the difference between “barely usable” and “perfectly serviceable”.
Repeatability is the quieter reason, and the more important one. Clicking through a setup wizard is a conversation you cannot repeat. Typing a sequence of commands is a recipe you can save, share, and run again on a second machine a year later. The command line is the version-control-friendly face of the same operating system the web runs on. Most of the public internet is served from Linux machines that were configured by someone typing commands very much like the ones below.
I chose Ubuntu 22.04 LTS. Long Term Support (LTS) means five years of security updates without breaking changes. That is what Tradition Augmented looks like in practice: a boring, well-documented foundation that does not surprise you on a Tuesday. I considered Debian (even more conservative), Fedora (faster-moving), Arch (bring your own scaffolding), and NixOS (declarative and elegant, but a steep wall for a first machine). For the solo craftsperson who wants to spend their evenings learning infrastructure rather than debugging distribution quirks, Ubuntu LTS is the right compromise.
The Action
The first real task was telling the machine to update itself. On a consumer operating system, this means clicking an Apple or a Windows logo and pressing “Update now”. On the fresh Ubuntu server, it looked like this:
# Log into the server from your laptop over SSH.
ssh admin@server.internal
# Refresh the package index: fetch the current list of available software.
sudo apt update
# Install the latest versions of everything that has an update available.
sudo apt upgrade -y
# Reboot if the kernel was upgraded. A clean reboot is cheap.
sudo reboot
Four commands. sudo promotes you to administrative rights for one command at a time (less surface area than staying root). apt is Ubuntu’s package manager, the equivalent of an app store driven from a text prompt. update refreshes the list of what is available; upgrade actually installs the new versions. The -y flag answers “yes” to the confirmation prompt, which is safe once you trust the repositories.
The second time I ran this, the machine rebooted and the network card stopped working.
What broke
I was locked out. SSH refused to connect. I dragged a monitor and a keyboard to the server, logged in at the console, and ran ip addr. The network interface was present but had no address. journalctl -u systemd-networkd showed a kernel module mismatch: the upgrade had replaced the kernel with a newer one, and the driver for my ethernet chipset had not been rebuilt against it. The fix was two commands:
# Reinstall the kernel-module package for the running kernel.
sudo apt install --reinstall linux-modules-$(uname -r)
# Bring the interface up manually and confirm.
sudo systemctl restart systemd-networkd
ip addr
The interface returned. I remembered the lesson: the kernel and its modules are a matched pair, and a kernel upgrade without the matching modules is a locked door. After that, I kept a second user account and a copy of the SSH key on a small USB stick. Recovery paths matter when the primary door closes.
Ten commands that cover most of the first year
You do not need a textbook to run a homelab. You need a dozen verbs, fluent. Mine, in rough order of how often I use them:
| Command | What it does |
|---|---|
ls / cd / pwd | Where am I, what is here, move around. |
cat / less / head / tail | Read a file, or stream its end. |
grep | Find a string inside files. Add -r to search recursively. |
systemctl status foo | Is the service running? |
journalctl -u foo -f | Follow the service’s logs live. |
apt install / apt remove | Add or remove software. |
ssh user@host | Log into another machine. |
scp / rsync | Copy files between machines. |
nano (or vim if you are patient) | Edit a file in place. |
htop | Watch memory and processor use in real time. |
Ten commands get you through the first year. The rest you learn one at a time, the moment you need them, by reading the manual page (man systemctl) and trying it on a machine where a mistake is cheap. That is the whole method.
The shift that matters
A graphical operating system treats you as a user. A command-line operating system treats you as an operator. The first assumes you will be guided; the second assumes you know what you want. Neither is better in the abstract, but for a homelab, the operator framing is the one that actually scales. You will eventually write a script that runs those ten commands in sequence on five machines at once. That script is the reason the command line exists.
By the end of that first weekend, I was not commanding the machine in any grand sense. I was typing sudo apt update and watching a list of packages scroll past. But the list was a window into how the operating system actually thought about itself: software, versions, dependencies, signatures. The interface was no longer an illustration of the machine. It was the machine.
Footnotes
-
Debian is a good second choice if you prefer a community-governed distribution; see debian.org. The trade-off is a longer release cadence and smaller ecosystem of one-click server images. Ubuntu’s server image builder lives at ubuntu.com/server. ↩