topics/08-essential-concepts

Essential Concepts

Five words you'll hear again and again in the Linux world. Understand these and forum threads, tutorials and error messages start making sense.

concept/kernel

1 · The Kernel

The kernel is the heart of the operating system — the one program that talks directly to your hardware. It decides which app gets processor time, manages memory, reads your keyboard, drives your Wi-Fi card, and hundreds of other jobs. Apps never touch hardware directly; they ask the kernel.

Analogy: the kernel is a translator between your apps and your hardware. Your browser says “fetch this website” — the kernel turns that into signals your network card understands.
bash — which kernel are you running?
alex@pc:~$uname -r6.8.0-45-generic

Distros update the kernel like any other package — that's why a plain apt upgrade occasionally asks for a reboot.


concept/display-server

2 · Display server: X11 vs Wayland

The display server is the invisible layer between your apps and your screen: it draws windows, and passes your mouse clicks and keypresses to the right app. Linux has two generations of it:

X11 (legacy)Wayland (modern)
Age 1984 — four decades of patches 2008 — clean modern design
Security Any app can read any other app's input (a design flaw today) Apps are isolated from each other
Smoothness Can show tearing on some setups Tear-free by design, great for HiDPI
Who uses it now Older setups, some niche tools Default on modern GNOME & KDE (Fedora, Ubuntu)
What should you do? Nothing! Your distro picks the default, and on modern systems that's Wayland. You may just see the choice at the login screen's gear menu — now you know what it means.

concept/grub

3 · Bootloader (GRUB)

When you press the power button, your PC's firmware needs one tiny program that knows where the operating system lives and how to start it. That's the bootloader — and on Linux it's almost always GRUB (Grand Unified Bootloader).

If you have more than one OS installed, GRUB greets you with a simple menu: “Ubuntu — Windows Boot Manager — advanced options…”. That's what makes dual booting painless. GRUB also keeps older kernels on the menu, so if an update ever misbehaves you can boot the previous one and fix things.

Analogy: GRUB is the receptionist of your PC: “Which system would you like to visit today?”

concept/systemd

4 · systemd

Once the kernel is up, systemd is the first real program that starts (it literally runs as process #1). Its job: bring up everything else — network, Bluetooth, printing, your login screen — in the right order, and keep background programs (services or daemons) alive afterwards.

You control services with the systemctl command:

bash — talking to systemd
alex@pc:~$systemctl status bluetooth      # is it running?alex@pc:~$sudo systemctl restart NetworkManager  # restart Wi-Fi servicealex@pc:~$sudo systemctl enable ssh         # start ssh on every bootalex@pc:~$systemctl poweroff              # yes, it can even shut down

concept/repositories

5 · Repositories

Remember the package manager topic? Repositories (“repos”) are the online warehouses your package manager downloads from. Each distro maintains its own — thousands of packages, tested to work together and built from verified source code.

Your system keeps a list of repo addresses (on Debian/Ubuntu they live in /etc/apt/sources.list and friends). apt update is simply your PC asking each repo: “anything new?” You can add extra repos (like PPAs on Ubuntu) for software not included by default — but stick to well-known sources, since a repo is a position of trust.

Why it matters: this model is a big part of Linux security. Instead of trusting random download buttons across the web, you trust one curated warehouse maintained by your distro.
Finished this topic?

Saved locally in your browser — no account needed.