login: ken
Password:
Last login: Mon Jan 1 00:00:00 on tty0
You have mail.
$ cat /etc/motd
UNIX V7 — Bell Telephone Laboratories
"The number of UNIX installations has grown to 10,
 with more expected." — Dennis Ritchie & Ken Thompson, June 1972
$ _

UNIX

1969 — Present

Two men, a discarded PDP-7, and an idea that would become the most influential operating system in the history of computing.

This is a tribute to the philosophy, the people, and the unbroken lineage from Room 2C-644 of Bell Labs to every server, phone, and supercomputer alive today.

Chapter One

Room 2C-644, Bell Labs

The most important room in the history of computing wasn't at MIT, Stanford, or IBM. It was in Murray Hill, New Jersey.

"What we wanted to preserve was not just a good environment in which to do programming, but a system around which a fellowship could form."

— Dennis Ritchie

In 1969, Ken Thompson found a little-used PDP-7 in a corner of Bell Labs. Multics — the grand, ambitious, over-engineered operating system project that Bell Labs had just abandoned — had failed. It was too complex. Too slow. Too everything.

Thompson didn't want to build another Multics. He wanted to write a game — Space Travel, specifically. But to run it, he needed an operating system. So he wrote one. In three weeks. On a machine with 8K words of memory.

Dennis Ritchie joined him. Together, in a partnership that would last decades, they created something that Multics never could: an operating system that was simple. Small enough to understand. Elegant enough to love. Powerful enough to run the world.

Brian Kernighan named it. A pun on Multics: where Multics was "many," this was one. Unics. Later: Unix.

The PDP-7

8K 18-bit words of memory. A teletype for I/O. A discarded machine nobody wanted. The birthplace of Unix, C, and the modern computing world.

Space Travel

Thompson wrote Unix so he could play a space simulation game. The best operating system in history was a side effect of wanting to fly a virtual spaceship. Sometimes the best things happen by accident.

Bell Labs

The transistor. Information theory. The laser. The CCD. C. C++. Unix. Plan 9. More Nobel Prizes than most countries. The most productive research lab in human history.

The 1956 Consent Decree

AT&T couldn't sell software. So they licensed Unix to universities for the cost of the tape. An antitrust ruling accidentally created the open source movement, three decades before the term existed.

The Founders

Thompson & Ritchie

They didn't set out to change the world. They just wanted a pleasant environment to work in. The world changed anyway.

Ken Thompson

ken

Wrote the first Unix kernel. Created the B programming language. Designed UTF-8 encoding on a placemat in a New Jersey diner with Rob Pike. Built the first computer chess program to achieve master-level play. Co-created Plan 9 and Go.

His password on the original Unix system was famously cracked decades later. It was p/q2-q4! — a chess opening.

"When in doubt, use brute force."

Turing Award, 1983 · National Medal of Technology, 1999 · Japan Prize, 2011

Dennis Ritchie

dmr

Created the C programming language — the language that wrote the modern world. Co-authored "The C Programming Language" with Brian Kernighan, known simply as K&R, the most influential programming book ever written.

Died on October 12, 2011. The same week as Steve Jobs. The world mourned Jobs. Most never heard about Ritchie. But every Apple product, every Android phone, every Windows machine — they all run on Ritchie's work.

"UNIX is very simple, it just needs a genius to understand its simplicity."

Turing Award, 1983 · National Medal of Technology, 1999 · Japan Prize, 2011

Dennis Ritchie gave the world C and Unix — the foundation of virtually all modern software. Steve Jobs stood on the stage. Dennis Ritchie stood beneath it, holding everything up. Without dmr, there are no iPhones, no Android, no cloud, no internet as we know it.

#include <stdio.h>
int main() { printf("goodbye, dennis.\n"); return 0; }

Dennis MacAlistair Ritchie · September 9, 1941 — October 12, 2011

The Doctrine

The Unix Philosophy

Not just rules for writing software. Rules for thinking clearly. Written by Doug McIlroy, refined by generations, eternal.

1

Do One Thing Well

Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new "features."

ls | wc -l   # two programs, one answer
2

Everything is a File

Disks, terminals, printers, network connections, processes — all files. One interface to rule them all. The most powerful abstraction in computing. If you can read and write, you can control anything.

echo "hello" > /dev/ttyp0  # talk to a terminal
3

Pipes

Doug McIlroy's greatest invention. Connect programs together like plumbing. The output of one becomes the input of another. Small tools, infinite combinations. Composition over monoliths. The original microservices, 50 years early.

cat access.log | sort | uniq -c | sort -rn | head
4

Text Streams

Use text as the universal interface. Not binary blobs. Not XML. Not JSON. Plain text that humans can read and programs can parse. The format that survives every technology cycle because it never needed updating.

grep ERROR /var/log/syslog | awk '{print $5}'
5

Silence is Golden

Don't produce output unless you have something to say. No "operation successful." No progress bars. No banners. Silence means success. If a program talks, listen — it has something important to tell you.

$ cp file1 file2
$                # nothing. good.
6

Prototype Early

Build a rough version as quickly as possible. Test it. Throw it away. Build again. The Unix team rewrote Unix from assembly to C, then rewrote C itself. Version 1 is for learning. Version 2 is for shipping.

"Plan to throw one away; you will, anyhow." — Fred Brooks

"This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface."

— Doug McIlroy, inventor of Unix pipes
The Epochs

From PDP-7 to Everywhere

55 years. One unbroken thread.

1969

The Birth

Ken Thompson writes the first Unix on a PDP-7 in assembly language. A filesystem, a shell, an editor, and an assembler. Everything you need, nothing you don't.

1971

The PDP-11 & First Edition

Unix moves to the PDP-11. The first Unix Programmer's Manual is published — November 3, 1971. Thompson convinces Bell Labs management by promising a text processing system for the patent department. The first real-world Unix application is a word processor. Sometimes you have to be practical to be revolutionary.

1972-73

C is Born

Dennis Ritchie creates C, evolving it from Thompson's B (which came from BCPL). In 1973, Unix is rewritten in C — the first operating system written in a high-level language. This single decision made Unix portable. It's why Unix survived when every other OS of the era died with its hardware.

1974

The Paper

"The UNIX Time-Sharing System" — Thompson & Ritchie publish in Communications of the ACM. Universities read it and want Unix. AT&T, bound by consent decree, licenses it for a nominal fee. Magnetic tapes ship to Berkeley, MIT, Stanford, and the world changes.

1975-79

Berkeley Unix (BSD)

Bill Joy arrives at UC Berkeley. Adds the vi editor, the C shell, virtual memory, and — crucially — the TCP/IP stack that will become the internet's foundation. BSD becomes the hacker's Unix. Bell Labs is the cathedral; Berkeley is the bazaar.

1983

The Turing Award & The Fracture

Thompson and Ritchie receive the Turing Award. The same year, AT&T is broken up — and can now sell Unix commercially. System V is born. The Unix Wars begin. Also: Richard Stallman announces GNU, dreaming of a free Unix. He'll get everything except the kernel.

1984-90

The Unix Wars

AT&T System V vs. BSD. Sun vs. DEC vs. IBM vs. HP. Everyone had their own Unix, their own extensions, their own incompatibilities. POSIX tries to standardize. The battles rage. Workstation vendors get rich. The phrase "Unix is the future" appears on every magazine cover.

1991

A Finnish Student Posts to Usenet

"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu)." — Linus Torvalds, comp.os.minix. He wrote a Unix-like kernel because he couldn't afford a real Unix. The hobby became Linux. The world noticed.

1993

The BSDs are Born Free

FreeBSD, NetBSD, and later OpenBSD. The Berkeley code, finally liberated from AT&T's legal grip. Free Unix that ran on commodity hardware. The direct descendants of the original Berkeley tradition, carrying forward the philosophy unchanged.

2000s

Unix Wins, Quietly

macOS (2001) — BSD Unix with a pretty face. Android (2008) — Linux kernel in every pocket. AWS (2006) — Linux running the cloud. The iPhone runs a Unix. Your car probably runs a Unix. The ATM you used today — Unix. The commercial Unix vendors faded. Unix itself became everything.

2024-26

The Unbroken Thread

55 years after Ken Thompson sat down at that PDP-7. Every supercomputer runs Linux. Every cloud server runs Unix or its children. Every smartphone has a Unix kernel. The philosophy hasn't changed. Small tools. Text streams. Composition. The fundamentals were right from day one.

Lineage

The Family Tree

From one codebase, a thousand systems bloomed. Every modern operating system traces its lineage back to Room 2C-644.

UNIX (1969, Bell Labs)
├── Research Unix (V1-V10, Bell Labs)
│   ├── Plan 9 from Bell Labs
│   └── Inferno
│
├── System V (AT&T, 1983)
│   ├── HP-UX (Hewlett-Packard)
│   ├── AIX (IBM)
│   ├── Solaris/SunOS (Sun → Oracle)
│   │   ├── illumos (OpenSolaris fork)
│   │   │   ├── SmartOS (Joyent)
│   │   │   └── OmniOS
│   │   └── ZFS, DTrace, Zones → adopted by FreeBSD
│   ├── IRIX (SGI)
│   ├── SCO Unix (rest in peace)
│   └── UnixWare
│
├── BSD (UC Berkeley, 1977)
│   ├── 4.3BSD, 4.4BSD-Lite
│   ├── FreeBSD (1993) ─── Netflix, PlayStation, pfSense
│   ├── OpenBSD (1995) ─── OpenSSH, pf, LibreSSL
│   ├── NetBSD (1993) ──── "Of course it runs NetBSD"
│   ├── DragonFlyBSD (2003)
│   └── Darwin/macOS/iOS (Apple, 2001)
│       └── Mach kernel + FreeBSD userland + NeXTSTEP
│
├── GNU (Stallman, 1983)
│   └── Userland tools (gcc, bash, coreutils, glibc...)
│       └── + Linux kernel = "GNU/Linux"
│
├── Linux (Torvalds, 1991)
│   ├── Debian → Ubuntu → Mint
│   ├── Red Hat → Fedora → CentOS → RHEL → Rocky/Alma
│   ├── Slackware → SUSE
│   ├── Arch → Manjaro
│   ├── Gentoo
│   ├── Android (Google, 2008) ─── 3 billion devices
│   └── ChromeOS
│
├── Minix (Tanenbaum, 1987)
│   └── Intel ME runs Minix. Yes, really.Every modern Intel CPU has Unix inside.
│
└── QNX, Cygwin, WSL, and countless others...
                
100%

of the world's top 500 supercomputers run Linux (a Unix descendant)

~80%

of all servers run Unix or Unix-like operating systems

3B+

Android devices alone, all running a Linux (Unix) kernel

The Inventions

What Unix Gave the World

Nearly everything you touch in computing was invented or perfected inside Unix.

The C Language

Dennis Ritchie, 1972. The language that wrote the world. C begat C++, Java, C#, Objective-C, Go, Rust. Every language you use was influenced by C.

Pipes

Doug McIlroy, 1973. Connect programs with |. The most powerful abstraction in computing history. Composition over monoliths. Predicted microservices by 40 years.

Hierarchical Filesystem

The / tree. Directories containing directories. So obvious now. Revolutionary then. Every OS copies this. Windows added it with drive letters (and got it slightly wrong).

The Shell

The command-line interpreter. sh, csh, ksh, bash, zsh. The idea that the user interface is just another program, replaceable and scriptable. PowerShell exists because the shell existed first.

Man Pages

Online documentation, available at the terminal. Type man ls and learn. No browser. No internet. Just the manual, always there. Written by the people who wrote the code.

Regular Expressions

Ken Thompson implemented them in ed. Now in every programming language, every text editor, every search engine. The most useful thing nobody fully understands.

TCP/IP

BSD Unix, 1983. Bill Joy's team integrated TCP/IP into 4.2BSD. The reference implementation. The internet literally runs on BSD's TCP/IP stack and its descendants.

fork() & exec()

Process creation by cloning yourself and then becoming something else. Bizarre. Beautiful. The foundation of every Unix process model. Copied by every OS that came after.

UTF-8

Ken Thompson and Rob Pike, 1992. Designed on a placemat at a New Jersey diner. The character encoding that unified the world's writing systems. You're reading UTF-8 right now.

The Pantheon

The People Who Built Unix

Not a company. Not a product. A community of craftspeople who believed software could be simple, elegant, and free.

Ken Thompson

Unix. B. UTF-8. Go. Grep. The person who made everything else possible.

Dennis Ritchie

C. Unix in C. K&R. Made software portable. Made programming a craft.

Doug McIlroy

Pipes. The Unix philosophy. Macros. The person who insisted on doing things the right way.

Brian Kernighan

Named Unix. Co-wrote K&R. AWK. The person who could explain anything clearly.

Bill Joy

vi. csh. TCP/IP in BSD. Co-founded Sun. Made Berkeley Unix the internet's OS.

Rob Pike

Plan 9. UTF-8 (with Ken). Go. sam. acme. The future of Unix that most people haven't caught up to yet.

Richard Stallman

GNU. GPL. GCC. Emacs. The idealist who made free software a political movement. Without GNU, Linux has no userland.

Linus Torvalds

Linux. Git. The person who gave Unix's ideas to three billion devices. "Just a hobby."

Down Memory Lane

You Remember When...

The moments that made us Unix people.

📺

The Green Phosphor

A VT100 terminal. Green text on black. The cursor blinking. The hum of the CRT. You typed ls for the first time and a list of files appeared. No icons. No mouse. Just you and the machine, talking in text. It felt like having a conversation with a very precise mind.

📖

Reading K&R

"The C Programming Language" by Kernighan and Ritchie. 272 pages. White cover, thin as a pamphlet. You could learn an entire programming language from a book the size of a novella. hello, world — two words that launched a million careers.

💡

The First Pipe

The moment you first typed ls | wc -l and understood. Two simple programs, connected by a single character, producing something neither could alone. The Unix philosophy clicking into place. You saw the matrix. You never went back.

⚔️

vi vs. Emacs

The oldest war in computing. You picked a side. You defended it with religious fervor. You wrote .vimrc files or .emacs configs that were longer than most programs. You judged people by their editor. Secretly, you were both right — they were both Unix.

🎓

The University Lab

A room full of terminals. Sun workstations or DEC VAXen. Logging in over the network. Writing C programs for your OS class. Discovering that rm -rf / does exactly what it says. Learning the hard way why root is dangerous. The sysadmin who was not amused.

📧

Usenet

comp.unix.questions. comp.lang.c. alt.folklore.computers. The original social network, running on Unix, discussing Unix. Flame wars that lasted years. Knowledge shared freely. The internet before the internet — text-based, egalitarian, and deeply weird.

🔧

Writing Your First Shell Script

#!/bin/sh — the shebang line. Your first for loop. Your first if statement. The realization that the command line wasn't just a prompt — it was a programming language. Everything was scriptable. Everything was automatable. You were free.

🖨️

man

Before Google. Before Stack Overflow. Before the web. There was man. You typed man printf and everything you needed was right there. Sections 1 through 8. See also. Bugs. History. Written by the people who wrote the code. The original documentation culture.

Interactive

The Terminal

The interface that started it all. Type something.

DEC VT100 — /dev/ttyv0
UNIX V7 (PDP-11) — Bell Telephone Laboratories
login: ken
Welcome. You have mail.
$ Try: ls, cat, who, date, uname, man, fortune, grep, pipe, history, help
$
$

To everyone who ever typed $ and felt at home.

To the first ls. The first pipe. The first shell script. The first man page that answered your question better than any human could.

To Ken and Dennis, who built a cathedral out of simplicity. To Doug McIlroy, who connected the world with a vertical bar. To Brian Kernighan, who explained it all in words anyone could understand. To Bill Joy, who gave Unix the internet.

To the sysadmins who kept the machines running. The students who learned to think by learning to type. The hackers who believed that software should be free, and proved it by writing better software than anyone else.

The PDP-7 is gone. Bell Labs is a memory. The VT100 is in a museum. But every time a cursor blinks on a black screen, every time someone pipes grep into awk, every time a phone boots or a server starts — Ken and Dennis are still there, in every line of code that runs the world.

$ echo "The number of UNIX installations has grown to 10, with more expected."

The count was off. By about ten billion.