What is Linux?

You've heard "Linux" used in a dozen different contexts — servers, Android phones, Raspberry Pis, supercomputers. So what exactly is it? Let's clear up the confusion and understand what Linux really is under the hood.

The Kernel vs the Operating System

What is Linux, really? Linux is a kernel — the core program that manages your computer's hardware. It's not a complete operating system by itself. Think of the kernel as the engine of a car: essential, but you still need the rest of the car (body, wheels, steering wheel) to actually drive anywhere.

When people say "I use Linux," they usually mean they use a Linux distribution — a complete operating system built around the Linux kernel. The distribution adds a package manager, system utilities, a desktop environment, and thousands of other tools on top of the raw kernel.

The full name is GNU/Linux. Most of the tools you use in the terminal (ls, grep, bash) come from the GNU project. Linus Torvalds wrote the kernel in 1991; GNU provided everything around it.

What is a Distribution?

Why are there so many "versions" of Linux? Because anyone can take the Linux kernel and build their own OS around it. Each distribution makes different choices about which package manager to use, which desktop environment to include, and what their target users need.

Popular distributions and what they're for:

DistributionPackage ManagerBest For
UbuntuAPT (.deb)Beginners, desktop, servers
DebianAPT (.deb)Stability, servers
FedoraDNF (.rpm)Developers, latest software
RHEL / CentOSDNF (.rpm)Enterprise servers
Arch LinuxPacmanAdvanced users, customization
Alpine LinuxAPKContainers, minimal footprint

Linux vs Windows vs macOS

AspectLinuxWindowsmacOS
KernelLinux (open source)Windows NT (proprietary)XNU/Darwin (BSD-based)
CostFreePaid licenseFree (requires Apple hardware)
Source codeFully openClosedPartially open
Package managerBuilt-in (APT, DNF, etc.)winget (recent addition)Homebrew (third-party)
File systemext4, btrfs, xfsNTFSAPFS
Shell defaultbash / zshPowerShell / cmdzsh
Market share (servers)~96%~3%<1%

Linux Is Everywhere

Where does Linux actually run? Practically everywhere that isn't your personal Windows or Mac laptop.
  • Servers: ~96% of web servers run Linux (Google, Facebook, Amazon, Netflix).
  • Android: Android is built on the Linux kernel. Your phone almost certainly runs Linux.
  • Supercomputers: 100% of the top 500 supercomputers run Linux.
  • Cloud: AWS, GCP, Azure virtual machines default to Linux.
  • Embedded systems: Routers, smart TVs, car infotainment, industrial controllers.
  • Containers: Docker containers are Linux processes. Kubernetes runs on Linux nodes.

Why Learn Linux?

If you work in software engineering, DevOps, security, data science, or embedded systems — your code runs on Linux. Understanding Linux means you can diagnose production issues, understand container internals, write efficient system code, and debug problems that no Stack Overflow answer covers.

Quick start: If you're on Windows, install WSL2 (Windows Subsystem for Linux). On macOS, your terminal is close to Linux — install Homebrew and start exploring.

Frequently Asked Questions

What will I learn here?

This page covers the core concepts and techniques you need to understand the topic and progress confidently to the next lesson.

How should I use this page?

Start with the overview, then follow the section links to deepen your understanding. Use the table of contents on the right to jump to specific sections.

What should I read next?

Use the navigation below to continue to the next lesson or explore related topics.