🐧 Lesson 1.1: What Is Linux?
A plain-English introduction to the operating system that runs most of the internet.
🎯 Learning Objectives
By the end of this lesson, you will be able to:
- Explain what Linux is and how it differs from Windows and macOS
- Describe the relationship between the kernel, distributions, and desktop environments
- List real-world uses of Linux
- Understand why Linux is free and open source
Estimated Time: 30 minutes
📑 In This Lesson
What Is an Operating System?
Before we talk about Linux, let's make sure we're on the same page about what an operating system (OS) actually does.
An operating system is the software that sits between you and your computer's hardware. When you click a file, the OS tells your hard drive to read it. When you press a key, the OS sends that keystroke to the right application. It manages your memory, your screen, your network connection — everything.
You've almost certainly used one of these:
- Windows — made by Microsoft, runs on most PCs
- macOS — made by Apple, runs on Macs
- Android — runs on most smartphones (and it's built on Linux!)
- iOS — made by Apple, runs on iPhones and iPads
Linux is another operating system. Unlike Windows or macOS, no single company owns it, and anyone can use, modify, and share it for free.
Browser, editor, terminal..."] B --> C["⚙️ Operating System
Linux / Windows / macOS"] C --> D["🔧 Hardware
CPU, RAM, disk, network..."] style A fill:#3b82f6,stroke:#1e40af,color:#fff style B fill:#6366f1,stroke:#4338ca,color:#fff style C fill:#8b5cf6,stroke:#6d28d9,color:#fff style D fill:#a855f7,stroke:#7c3aed,color:#fff
The Linux Story
In 1991, a Finnish university student named Linus Torvalds was frustrated with the cost of commercial operating systems. He started writing his own OS kernel — the core engine that talks directly to hardware — and shared it online for free.
His post to a Usenet newsgroup is now famous. He described his project as "just a hobby, won't be big and professional." It turned out to be very big and very professional.
Thousands of developers around the world started contributing code. Combined with tools from the GNU Project (started by Richard Stallman in 1983 to create a free Unix-like OS), the result was a complete, free operating system that anyone could use.
✅ Fun Fact
The Linux mascot is a penguin named Tux. Linus Torvalds chose a penguin because he was once bitten by one at a zoo and thought they were "languid and pleasant."
Kernel vs. Distribution
This is the single most important concept for new Linux users to understand.
Strictly speaking, "Linux" is just the kernel — the core software that manages your CPU, memory, and devices. By itself, a kernel isn't something you can sit down and use. You also need:
- A shell (command-line interface) so you can type commands
- A desktop environment so you can point and click
- System utilities for managing files, users, and networks
- Applications — a browser, text editor, file manager, etc.
A Linux distribution (or "distro") bundles the Linux kernel with all of this other software into a complete, installable package. Think of it this way:
🍔 The Burger Analogy
The Linux kernel is the patty. A distribution is the whole burger — bun, lettuce, cheese, sauce, and patty together. Different restaurants (distros) use the same patty but build a different burger around it.
Some popular distributions:
| Distribution | Based On | Best For | Package Manager |
|---|---|---|---|
| Ubuntu | Debian | Beginners, desktops, servers | apt |
| Linux Mint | Ubuntu | Windows switchers | apt |
| Fedora | Independent (Red Hat family) | Developers, cutting-edge software | dnf |
| Arch Linux | Independent | Advanced users who want full control | pacman |
| Debian | Independent | Servers, stability-first users | apt |
💡 Why This Course Uses Ubuntu
Ubuntu is the most widely used desktop Linux distribution. It has the largest community, the most beginner-friendly documentation, and is the default for most cloud servers and WSL. Skills you learn on Ubuntu transfer directly to Debian, Linux Mint, and Pop!_OS. We'll call out differences for Fedora and Arch where they matter.
Open Source — Why It's Free
Linux is open source, which means:
- The source code is public. Anyone can read, study, and understand how Linux works.
- Anyone can modify it. If you don't like how something works, you can change it.
- Anyone can share it. You can give copies to friends, install it on as many machines as you want, and even build your own distribution.
This is fundamentally different from Windows or macOS, where the source code is secret ("proprietary") and you pay for a license to use it.
💡 Key Insight: "Free" in open source means "free as in freedom," not just "free as in free beer." You're free to use it, study it, change it, and share it. The fact that it also costs $0 is a bonus.
So how does this work in practice? Who writes all this code for free?
- Volunteers — thousands of developers worldwide contribute in their spare time
- Companies — Google, Microsoft, Red Hat, Intel, and many others pay developers to work on Linux because their products depend on it
- The Linux Foundation — a nonprofit that coordinates development and employs Linus Torvalds
Where Linux Lives
You might think Linux is a niche hobby OS. It's not. Linux is everywhere:
- Servers: Over 90% of the world's cloud infrastructure runs Linux (AWS, Google Cloud, Azure)
- Phones: Android is built on the Linux kernel — billions of devices
- Supercomputers: 100% of the world's top 500 supercomputers run Linux
- Embedded devices: Smart TVs, routers, thermostats, cars
- Space: NASA's Mars rovers and the International Space Station use Linux
- Gaming: The Steam Deck runs SteamOS (a Linux distro)
- Developer workstations: Increasingly popular among web developers and data scientists
⚠️ Common Misconception
"Linux doesn't have a desktop — it's all command line." Wrong! Modern Linux desktops like GNOME (used by Ubuntu) and KDE Plasma are polished, attractive, and fully usable with just a mouse. The command line is powerful, but it's not required for everyday use.
Linux vs. Windows vs. macOS
| Feature | Linux (Ubuntu) | Windows | macOS |
|---|---|---|---|
| Cost | Free | $100–200+ license | Free (requires Mac hardware) |
| Source Code | Open — anyone can read it | Closed / proprietary | Mostly closed |
| Customization | Extremely high | Moderate | Limited |
| Software Install | Package managers (apt) |
.exe installers, MS Store | .dmg installers, App Store |
| Gaming | Good and improving (Steam/Proton) | Best support | Moderate |
| Privacy | You control your data | Telemetry by default | Better than Windows |
| Server Use | Dominant (90%+ of servers) | Windows Server exists | Rare |
| Terminal | First-class citizen (Bash) | PowerShell, CMD | Good (Zsh, based on Unix) |
✅ The Bottom Line
Linux isn't "better" or "worse" than Windows or macOS — it's different. It gives you more control and transparency at the cost of a learning curve. If you work with servers, development, data, or just value privacy and customization, Linux is worth learning. And that's why you're here.
Quiz
🎯 Check Your Understanding
Question 1: What is the Linux kernel?
Question 2: What does "open source" mean for Linux?
Question 3: Which of these runs on Linux?
Summary
🎉 Key Takeaways
- Linux is a free, open-source operating system kernel created by Linus Torvalds in 1991
- A distribution bundles the kernel with a desktop, tools, and apps into a complete OS
- Ubuntu is the most popular beginner-friendly distro (and our focus in this course)
- Linux is everywhere — servers, phones, supercomputers, and increasingly on desktops
- Open source means anyone can use, study, modify, and share Linux
🚀 What's Next?
Now that you know what Linux is, the next lesson dives deeper into the world of distributions — how to compare them and which one is right for you.