Brief History & Core Concepts
Understand what Linux is, how it is built, and why it dominates modern infrastructure.
Linux powers the overwhelming majority of servers, cloud instances, containers, and embedded devices in production today. This chapter establishes the vocabulary and mental model the rest of the book depends on: the relationship between the kernel, a distribution, and the shell, and the design philosophy that makes Linux so composable.
By the end of this chapter you will be able to
- Define the kernel, a distribution, and the shell, and explain how they relate.
- Summarise the historical lineage from UNIX to GNU/Linux.
- Explain the open-source model and its operational advantages.
- Describe the UNIX philosophy and its impact on tool design.
- Provision a Linux environment via WSL, a VM, or a cloud instance.
1.1 What Linux Is
Linux is an operating system kernel created by Linus Torvalds in 1991, combined with the GNU userland tools to form a complete operating system, often written GNU/Linux. It is released under the GPL, a free-software licence that guarantees the source remains open.
Three words you must not confuse
| Term | What it is |
|---|---|
| Kernel | The core that talks to hardware — CPU, memory, disks, network. One kernel, shared by everything. |
| Distribution | The kernel plus tools, a package manager, and defaults, bundled into a usable system (Ubuntu, Rocky, Debian, Arch). |
| Shell | The program that reads the commands you type and runs them. Bash is the most common. |
1.2 From UNIX to Linux
UNIX was created at Bell Labs in 1969 and shaped how operating systems are built. In 1983 the GNU project set out to build a completely free UNIX-like system. In 1991 a student named Linus Torvalds wrote the missing piece — the kernel — and shared it with the world. Together they became the Linux systems we use today.
The reason this matters: because the code is open, thousands of companies and volunteers improve it, security holes get found and fixed in the open, and no single vendor controls it.
1.3 The UNIX Philosophy
The core design idea behind Linux is simple and powerful: write small programs that each do one job well, then combine them. The pipe symbol | connects them — the output of one becomes the input of the next.
# Each tool is tiny. Together they answer a real question:
# 'how many users are on this system?'
cat /etc/passwd | wc -l
# 'show me the 3 biggest things in this folder'
ls -lhS | head -3
1.4 Provisioning a Linux Environment
You learn Linux by using it. Pick whichever path fits your computer — all three are free.
Windows: WSL (easiest)
# In PowerShell as Administrator:
wsl --install
# Restart, then open 'Ubuntu' from the Start menu
# and create a username + password when asked.
Any computer: a virtual machine
Install VirtualBox (free), download an Ubuntu or Rocky Linux ISO, and create a VM with at least 2 GB RAM and 25 GB disk. This gives you a full, safe, throwaway Linux machine.
Nothing to install: the cloud or browser
A small cloud instance (many providers offer a free tier) gives you a real internet-facing server to practise on. Browser sandboxes also exist for quick experiments.
1.5 Guided Lab: Environment & First Commands
Estimated time: 20–30 minutes. Get a Linux environment running using one of the paths above, then run each command and note what it reports.
- Launch your Linux environment and open a terminal.
- Run
whoami,hostname, anddate. What does each tell you? - Identify the distribution and version:
cat /etc/os-release. - Show the kernel version:
uname -r. - See the UNIX philosophy in action:
echo Hello | wc -c— what number appears, and why? - Check memory and uptime:
free -handuptime.
Troubleshooting
| Symptom | Likely cause and fix |
|---|---|
| `wsl –install` does nothing or errors | Windows not updated or virtualization disabled in BIOS. Update Windows and enable virtualization; rerun as Administrator. |
| VM is extremely slow | Too little RAM allocated, or host virtualization extensions disabled. Give the VM 2–4 GB and enable VT-x/AMD-V in BIOS. |
| `command not found` on a fresh system | The tool isn’t installed yet. You’ll install packages in Chapter 6; for now, most core commands are already present. |
Practice & Prove It
Write-the-command drills
- Print the distribution and version information file to the screen.
- Show the running kernel version.
- Count how many lines are in /etc/passwd (one per account).
- Print your username and the machine’s name on the same line, separated by an @.
- Show how long the system has been running.
Quick quiz
- What is the kernel responsible for?
- Name two Linux distributions.
- What does the pipe symbol
|do? - What does ‘open source’ mean?
- Who wrote the original Linux kernel, and in what year?
Key Takeaways
- Linux is a free, open operating system that runs most of the world’s servers, cloud, and devices.
- Kernel = the core; distribution = the whole system around it; shell = where you type commands.
- Open source means the code is public, auditable, and improved by many — a key reason for its dominance.
- The UNIX philosophy: small single-purpose tools, combined with pipes, beat one giant program.
- You can run Linux today via WSL, a VM, or a cloud instance — always practise on something disposable.
Next — Chapter 2: system access and the navigation fundamentals every administrator uses constantly.