Linux Administration
What is Linux and Why It Matters
In this lesson
Linux is a free, open-source operating system kernel first released by Linus Torvalds in 1991. Unlike Windows or macOS, Linux is not owned by any single company — its source code is publicly available, freely modifiable, and distributed under open licences. Today, Linux runs the overwhelming majority of the world's servers, cloud infrastructure, Android devices, supercomputers, and embedded systems.
The Operating System Big Picture
Before understanding Linux, you need a mental model of what an operating system (OS) actually does. Every computer has hardware — CPU, RAM, storage, network card. Applications (your browser, your database, your scripts) need to use that hardware. The OS sits in the middle, acting as a translator and traffic controller between software and hardware.
Fig 1 — The OS sits between your applications and the physical hardware
Analogy: Think of the OS as a restaurant kitchen. Customers (applications) place orders (requests). The kitchen (OS) manages the chefs (CPU cores), ingredients (RAM), and ovens (storage) so that every order gets fulfilled efficiently — customers never touch the stove themselves.
The Linux Kernel
The kernel is the core of any operating system — it is the first program that loads when a computer boots, and it stays running until the system shuts down. The Linux kernel handles four primary responsibilities:
Decides which process runs on which CPU core and for how long. Handles forking, scheduling, and killing processes.
Allocates and frees RAM for processes. Manages virtual memory and swap space so processes don't collide.
Provides a standard interface for hardware devices — disks, network cards, USB — so software doesn't need to know hardware specifics.
Organises how data is stored and retrieved on disks. Supports dozens of file systems: ext4, xfs, btrfs, and more.
The kernel operates in a privileged mode called kernel space. Your applications run in user space — they must ask the kernel for resources via system calls (syscalls). This separation protects the system from buggy or malicious applications crashing the whole machine.
Linux vs Windows vs macOS
Understanding the differences helps you appreciate why administrators consistently choose Linux for servers, automation, and cloud workloads.
| Attribute | Linux | Windows | macOS |
|---|---|---|---|
| Cost | Free | Paid licence | Free (Apple hardware) |
| Source Code | Open source | Closed source | Partially open (Darwin) |
| Server Use | Dominant (~96% of top 1M sites) | Enterprise use cases | Rare on servers |
| Customisation | Unlimited | Limited | Moderate |
| CLI Power | Exceptional (Bash, shells) | PowerShell (improving) | Good (Zsh default) |
| Security Model | Granular, file-level permissions | ACL-based | Unix-based permissions |
The Open-Source Model
Linux is licensed under the GNU General Public License (GPL). This means anyone can view the source code, modify it, and redistribute it — as long as derivative works carry the same licence. This model has produced extraordinary results:
Thousands of developers worldwide contribute to the Linux kernel. Major companies including Google, Red Hat, Intel, and IBM contribute millions of lines of code annually.
Security researchers worldwide can audit the code. Vulnerabilities are found and fixed faster compared to proprietary systems with hidden codebases.
Organisations are not tied to a single vendor's pricing, roadmap, or support policies. If one distribution is discontinued, another can take its place.
New kernel versions are released every 8–10 weeks, bringing performance improvements, new hardware support, and security patches at a pace proprietary OS vendors rarely match.
Where Linux Runs Today
Linux is everywhere — often invisibly. When you use a smartphone, stream a video, make a payment, or browse the web, Linux is almost certainly involved somewhere in the chain.
Fig 2 — Linux deployment domains
Why Learn Linux Administration
As a Linux administrator, you are responsible for keeping systems running, secure, and performant. This role is foundational to every technology career path — DevOps engineers, cloud architects, security analysts, and SREs all depend on solid Linux skills.
| DevOps / SRE Engineer | Manages deployments, CI/CD pipelines, and infrastructure as code — all Linux-based |
| Cloud Engineer | Provisions and manages Linux VMs on AWS, GCP, Azure daily |
| Security Analyst | Investigates logs, hardens systems, and performs forensics — all on Linux |
| Backend Developer | Deploys applications to Linux servers and containers |
| Network Engineer | Configures Linux-based routers, firewalls, and network monitoring tools |
Analogy: Learning Linux administration is like learning to drive a manual (stick-shift) car. It takes more initial effort than an automatic, but once you know it, you understand exactly what's happening under the hood — and you can drive anything.
Common Misconception
Many beginners confuse Linux (the kernel) with a Linux distribution (a full OS bundle). Ubuntu, CentOS, and Debian are not Linux — they are distributions that include the Linux kernel along with package managers, desktop environments, and tooling. You will never install "just Linux" — you always install a distribution. This course primarily uses Ubuntu and RHEL-based examples.
Lesson Checklist
Teacher's Note
Students often ask "which Linux should I install?" — for this course, Ubuntu Server 22.04 LTS or Rocky Linux 9 are ideal. Both are free, widely used in production, and cover everything taught here.
Practice Questions
1. In your own words, explain the difference between the Linux kernel and a Linux distribution.
2. Name three real-world environments where Linux is the dominant operating system and briefly explain why Linux is preferred in each.
3. What is a system call (syscall), and why does the separation of kernel space and user space matter for system stability?
Lesson Quiz
1. Which of the following best describes the Linux kernel?
2. What percentage of the world's top 500 supercomputers run Linux?
3. What licence governs the Linux kernel, and what does it require of derivative works?
Up Next
Lesson 2 — Linux Distributions Overview
Ubuntu, Debian, RHEL, Arch — what makes each distro different and which to choose