Articles
25 articles. Power button to shell prompt. Start anywhere, but they build on each other.
Your First Shell Script
A shell script is a text file that the shell reads as a sequence of commands.
The Environment
Environment variables are how the shell and programs share configuration.
Pipes and Redirection
The power of Unix comes from connecting programs together with pipes.
Standard I/O
Every process has three channels: standard input, standard output, and standard error.
What a Shell Actually Is
The shell is not the terminal. It is a program that reads commands and runs them.
Users, Groups, and Permissions
Linux controls access through a simple system of users, groups, and permission bits.
The TTY and Terminal
The terminal you type into has a history that goes back to mechanical teletypes.
The Process Model
Every running program is a process. The kernel manages them all.
PID 1: init and systemd
The first userspace process starts everything else. It is process number one.
The Root Filesystem
Before the system can do anything useful, it needs to mount its root filesystem.
Device Drivers
The kernel cannot talk to hardware directly. Drivers are the translators.
The Clock Signal
Every operation in a computer happens in time with a clock. This is how timing works.
Kernel Init
The kernel takes control of the hardware and begins building the operating system.
Decompressing and Handing Off
The kernel image is compressed. Before it can run, it must unpack itself.
Finding the Kernel
GRUB locates the kernel image on disk and prepares to load it into memory.
Stage 2: GRUB
GRUB takes over from the bootloader and gives you a menu. Here is what it does next.
Stage 1: The Bootloader
The first tiny program that loads from disk. It has one job: load something bigger.
Finding the Boot Device
The firmware searches for something it can boot from. This is how it decides.
The Bus System
How the CPU talks to every other component through shared communication channels.
Memory Initialization
RAM does not work until the firmware trains it. Here is what that means.
UEFI vs Legacy BIOS
Two generations of firmware and why the transition matters.
Why Linux?
Why this series uses Linux as its reference operating system.
POST and the BIOS
The first software that runs is not your operating system. It is the firmware.
The Reset Vector
The CPU wakes up at a hardcoded address. Everything starts from that one location.
The Moment Power Arrives
What happens in the first nanoseconds after you press the power button.
Bits, Bytes, and Voltage
Every computation starts with a physical signal. This is how voltage becomes meaning.