โ† Operating System Basics: From Zero to Hero
Level 1 ยท Zero: Getting Started

What Is an Operating System? Meet Linux

Lesson 1 of 14 ยท โฑ 7 min

Hi explorers, it's Magi! ๐Ÿ‘‹ Let's start with a little mystery.

When you tap a game icon on a tablet, a game appears. But who really did the work? Not just the game. Something else made the screen light up, found the game on the device, gave it some memory and listened to your finger. That hidden helper is the operating system, or OS for short.

๐Ÿ’ก The operating system is the boss program that manages a computer's parts and helps all the other programs run.

The restaurant idea

Imagine you go to a restaurant. You don't walk into the kitchen and cook your own dinner. You tell the waiter what you want, and the waiter talks to the kitchen.

A restaurant comparison: you are the customer, the operating system is the waiter and manager, and the hardware is the kitchen.

  • You are the customer.
  • The operating system is the waiter and the manager.
  • The hardware (screen, memory, storage, processor) is the kitchen.

The OS sandwich

The OS sits in the middle layer. Every app asks the OS for what it needs, like memory, a place to save files, or time on the screen. The OS decides who gets what, and talks to the real hardware.

Four layers: you on top, then apps, then the operating system, then the hardware at the bottom.

Without an OS, every app would have to know how to control every kind of screen, keyboard and memory chip in the world. They would bump into each other and fight over the same memory. The OS keeps things calm, fair and organized.

Why we will learn with Linux ๐Ÿง

Reading about an OS is like reading about swimming. To really learn, you have to get in the water! In this course you will use a real operating system called Linux, and you'll type real commands to look inside it.

Why Linux?

  • It's free and open. Anyone can look at how it works. Nothing is hidden from you.
  • It's everywhere. Android phones, web servers, smart TVs, the Raspberry Pi, and every one of the world's fastest supercomputers run Linux.
  • It shows its work. Linux lets you ask questions like "How much memory am I using?" or "Which programs are running?" and gives you a real answer.
  • The big ideas are the same in Windows, macOS and Android, so what you learn here works everywhere.

Linux began in 1991, when a student named Linus Torvalds started writing a free kernel (the heart of an OS). Today people all over the world improve it together.

What you will do in this course

Level What you will do
1 ยท Zero Set up your own Linux lab and take a tour
2 ยท Explorer Watch processes run, fill up memory, build folders and meet devices
3 ยท Hero Write your own scripts, learn to stay safe, and build a system report

๐Ÿงช Every lesson is a lab. You will type commands, see what happens, and then understand why. You can't break anything if you follow the lab rules in the next lesson.

Words to know

Word What it means
Operating system (OS) The boss program that manages the computer and helps other programs run
Linux A free, open operating system used on phones, servers, supercomputers and tiny computers
App A program you use, like a game, a browser or a music player
Hardware The parts of a computer you can touch

๐ŸŽฏ Quiz time!

1. What is an operating system?
2. In our restaurant idea, who is the waiter?
3. Why is Linux great for learning how an OS works?
4. Which of these runs on Linux?