
What is Linux? Strictly speaking, Linux is an operating system kernel. The kernel is the core part of an operating system that sits between your hardware and your programs, and Linux is free for anyone to use, study and change. It probably runs your Android phone, your Wi-Fi router and many of the websites you visit, even though you rarely see it.
This guide starts with the big picture and then moves inward. You'll learn why Linux exists, what the kernel does inside, how a kernel becomes a usable system called a distro, and how people use it through a desktop or a terminal. It ends with the two habits that cause most beginner disasters, so you can explore without breaking anything.
- Linux is a free, open-source operating system kernel, first released by Linus Torvalds in 1991.
- The kernel sits between programs and hardware and manages memory, processes, files and devices.
- You install a distribution (distro) such as Ubuntu or Fedora: the kernel plus tools, a desktop and a package manager.
- You can use Linux through a familiar desktop or by typing commands in the terminal.
- Use root and sudo carefully, and never run a command you can't explain.
- 0:00Intro
- 0:28It's already running your day
- 1:17A free, open kernel
- 2:13From hobby to community
- 3:02The kernel sits in the middle
- 3:50Four jobs the kernel handles
- 4:46Kernel plus tools = a distro
- 5:46Desktop or terminal
- 6:39Installing an app, step by step
- 7:35Linux is everywhere
- 8:23Two habits that break systems
- 9:15Linux in six ideas
- 9:53An open foundation worth exploring safely
Where you already use Linux without noticing
Linux rarely announces itself. There's no logo on your router and no sticker on a website, yet it's often doing the work behind the scenes. Picture one ordinary moment online: your Android phone runs on Linux, it connects to a Wi-Fi router that very often runs Linux too, and the page you open most likely comes from a web server running Linux as well.
The same core software turns up in tiny boxes and in giant data centres, which shows how adaptable it is. That's also why learning Linux is practical. If you want to build websites, manage servers or work in the cloud, understanding how Linux behaves makes the rest much easier.
- Android phones are built on Linux
- Many home routers run Linux
- Many web servers run Linux
What is Linux, exactly?
When people say "Linux", they often mean a whole system with windows, apps and settings. Technically, though, the word names the kernel: the core layer between the hardware and the programs, the part everything else depends on. A helpful comparison is a car engine. You never see it while driving, but nothing moves without it.
Linux began in 1991, when Linus Torvalds, then a student in Finland, released the first version and shared it openly. Two properties came from that choice. Linux is free: there's no licence key, and you can install it on as many machines as you like, including for business use. It's also open source: anyone can read the code, fix a bug, improve it and share their version, a bit like a community cookbook anyone can edit.
- Free: no licence fees to download or use
- Open source: the code is public to read, change and share
- Kernel: the core that connects hardware and programs
Why does Linux exist? From hobby to community
Linux didn't come from a big company. It grew out of one person's hobby. The code was posted online so others could try it, a community formed around fixing and extending it, and over time it became a real alternative to paid, closed systems. That origin still explains why Linux feels different from what many people are used to.
Proprietary systems are owned by a single company. You use them on that company's terms, and you can't look inside or change how they work. Linux follows a model of shared ownership instead: no one company controls it, so anyone can adapt it to their needs, and improvements flow back from many directions at once.
How does the Linux kernel work?
The most important idea about Linux is where the kernel sits: in the middle. Programs never touch the hardware directly. When your browser saves a file or plays a sound, it sends a request down to the kernel. The kernel checks the request and coordinates the work, the processor, memory and disk carry it out, and the result travels back up.
Two roles help make sense of this. The kernel is a translator: your browser doesn't speak the language of your Wi-Fi chip, so the kernel turns its request into instructions the hardware understands. It's also a gatekeeper: because every request passes through it, the kernel can stop a misbehaving program before it takes down the whole machine. One bad app doesn't have to crash everything.
- Programs send requests down
- The kernel checks and coordinates them
- Hardware does the work and returns the result
The four jobs of the Linux kernel
Inside that middle layer, the kernel juggles four main jobs at once, a bit like a restaurant manager keeping tables, cooks, storage and equipment running together. Memory: it decides which program gets which slice of RAM. Processes: it gives each running program short turns on the processor. Files: it tracks where data lives on disk. Devices: it talks to keyboards, screens and network cards.
Fair sharing ties these jobs together. Your music, browser and chat app all want the computer at the same time, and the kernel switches between them so quickly that it feels simultaneous. That's why multitasking just works.
Linux is also known for the idea that "everything's a file". Many devices appear as special files, so programs can use one simple method to read from and write to almost anything.
- Memory: sharing out RAM
- Processes: taking turns on the processor
- Files: tracking data on disk
- Devices: talking to hardware
What is a Linux distro?
This is where many beginners get confused. You don't download the bare kernel and start using it. You install a distribution, or distro: a complete package that's ready to install. If the kernel is the engine, the distro is the whole car built around it, with seats and a dashboard. Ubuntu and Fedora are two of the best-known examples.
A distro bundles the kernel with a desktop of windows and menus, and a package manager, which works much like an app store for software. Shared tools come along too, such as the command shell, text editors and system utilities. These turn a bare kernel into something you can actually sit down and use.
Under the hood, distros share the same kernel; what differs is the bundle on top. Ubuntu is a popular, beginner-friendly starting point, while Fedora tends to ship newer software. Pick based on what you need.
Linux desktop vs terminal: which should you use?
Once a distro is installed, there are two ways to use it, and you can switch between them any time. The desktop gives you windows, icons and a mouse, much like Windows or macOS. It's ideal for everyday tasks such as browsing and documents. The terminal is text-based: you type a command, press Enter, and it runs straight away.
Both talk to the same kernel underneath. In the example here, pwd prints the folder you're currently in, ls lists the files inside it, and mkdir projects creates a new folder called projects. Short words, typed precisely, doing real work.
Why type at all? Commands are quick to repeat and easy to automate, and many servers have no desktop at all. That's why the terminal is the skill that unlocks Linux's real power, especially for admin work.
- Desktop: familiar, visual, great for everyday tasks
- Terminal: fast, precise, essential on servers
# where am I right now?
pwd
# list the files in this folder
ls
# create a new folder
mkdir projects
How to install an app on Linux, step by step
Here is how the pieces work together in practice. On Ubuntu, you can install VLC, a free media player, by typing a single line: sudo apt install vlc. First the system asks for your password, because sudo means you're requesting admin rights. Then apt checks its sources and finds vlc, downloads the packages, puts the files in place, and VLC appears in your menu.
This is safer than downloading random installers from websites, because the package manager pulls from your distribution's official repositories, which its own team maintains. Meanwhile the kernel quietly does its part: it writes files to disk, handles the download through your network card, and later starts VLC as a new process. On Fedora, the same job uses dnf instead of apt.
- Ask permission (password prompt)
- Check sources (apt finds vlc)
- Download packages
- Install files
- Done: VLC is in your menu
Where is Linux used?
Because the code is open, people can shrink Linux down for small devices or scale it up for huge machines, all from the same core. The Linux kernel powers cloud servers that host websites and apps, sits inside Android phones, runs on supercomputers used for science, and drives smart devices such as routers and TVs.
Two practical reasons explain this reach. It's free to scale: a company running a huge number of servers pays no licence fee for each one. It's also easy to customise: a router maker can strip out everything it doesn't need, while a cloud provider can tune the system for speed. Linux fits wherever the job is.
Common Linux mistakes beginners make
Linux gives you a lot of power, and two beginner mistakes come up again and again. The classic story goes like this: someone copies a command from a forum, runs it as root, never reads what it does, and suddenly files are gone or settings are broken.
The first mistake is careless root use. Root is the all-powerful admin account, and it can change or delete anything with no undo, so a single typo can wipe important files. Use sudo only when a task truly needs it, and double-check before pressing Enter.
The second is blind copy-pasting. A line from a random website may be outdated or even harmful. Look up each part first, and if you can't explain a command, don't run it.
- Use sudo only when it's truly needed
- Re-read commands before pressing Enter
- Don't run commands you can't explain
Key takeaways
- Linux is a free, open-source kernel, first released in 1991.
- The kernel manages memory, processes, files and devices.
- Distros bundle the kernel with tools, a desktop and a package manager.
- You can use Linux through a desktop or the terminal.
- Linux runs servers, phones, supercomputers and smart devices.
- Use root carefully and read commands before you run them.
Frequently asked questions
Is Linux an operating system or a kernel?
Strictly, Linux is the kernel, the core layer between hardware and programs. In everyday speech, people use "Linux" to mean a whole system, which is really a distribution built around that kernel.
Is Linux really free?
Yes. There's no licence fee, and you can install it on as many machines as you like, including for business. It's also open source, so anyone can read, change and share the code.
Which Linux distro should a beginner try first?
Ubuntu is a popular, beginner-friendly starting point. Fedora is another well-known option that tends to ship newer software, and many other distros exist for different needs.
Do I have to use the terminal on Linux?
No. Most distros include a desktop with windows, icons and a mouse for everyday tasks. The terminal is worth learning because commands are fast to repeat, easy to automate and essential on servers without a desktop.
What does sudo mean in Linux?
sudo lets you run a command with admin (root) rights, which is why it asks for your password. Because root can change or delete anything, use sudo only when a task truly needs it.
Is my Android phone running Linux?
Yes. Android runs on the Linux kernel, which is one reason Linux is so widespread even though most people never see it directly.