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
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.
What is a Distribution?
Popular distributions and what they're for:
| Distribution | Package Manager | Best For |
|---|---|---|
| Ubuntu | APT (.deb) | Beginners, desktop, servers |
| Debian | APT (.deb) | Stability, servers |
| Fedora | DNF (.rpm) | Developers, latest software |
| RHEL / CentOS | DNF (.rpm) | Enterprise servers |
| Arch Linux | Pacman | Advanced users, customization |
| Alpine Linux | APK | Containers, minimal footprint |
Linux vs Windows vs macOS
| Aspect | Linux | Windows | macOS |
|---|---|---|---|
| Kernel | Linux (open source) | Windows NT (proprietary) | XNU/Darwin (BSD-based) |
| Cost | Free | Paid license | Free (requires Apple hardware) |
| Source code | Fully open | Closed | Partially open |
| Package manager | Built-in (APT, DNF, etc.) | winget (recent addition) | Homebrew (third-party) |
| File system | ext4, btrfs, xfs | NTFS | APFS |
| Shell default | bash / zsh | PowerShell / cmd | zsh |
| Market share (servers) | ~96% | ~3% | <1% |
Linux Is Everywhere
- 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.
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.