Unix is the operating system the rest of computing keeps re-implementing. Born at Bell Labs in 1969, its descendants — BSD, Solaris, AIX, HP-UX, macOS, and (philosophically) Linux — define the POSIX model: processes, files, pipes, signals, sockets. Knowing the BSD branch tells you why your Mac, your router, and your PlayStation all feel a little familiar.
← Back to Foundations| OS | Focus | Where You See It |
|---|---|---|
| FreeBSD | General-purpose, performance. | Netflix CDN, WhatsApp servers (historically), PlayStation 4/5 OS. |
| OpenBSD | Security, code correctness. | Firewalls, VPN gateways. Birthplace of OpenSSH, OpenSMTPD, LibreSSL. |
| NetBSD | Portability — runs on everything. | Embedded devices, exotic CPUs. "Of course it runs NetBSD." |
| DragonFly BSD | SMP, HAMMER filesystem experiments. | Niche — research and enthusiasts. |
| Solaris / illumos | Big-iron Unix from Sun. | Legacy enterprise, Oracle databases. ZFS and DTrace originated here. |
| AIX, HP-UX | Proprietary big-iron Unix. | Banks, telcos, mainframe-adjacent enterprise. |
The Unix insight: model devices, pipes, and sockets as file descriptors. One small set of syscalls (open, read, write, close) covers a huge surface. Pipelines (foo | bar | baz) only work because of this.
"Do one thing well." grep, awk, sed, cut, sort, uniq — each is a single program. Composition is the shell's job. The whole UNIX philosophy fits in McIlroy's three lines on a napkin.
C was invented to make Unix portable. Berkeley sockets — socket(), bind(), connect(), accept() — became the universal API for network programming on every OS that followed.
| Aspect | BSD | Linux |
|---|---|---|
| Project structure | Whole system in one tree (kernel + userland together). | Kernel + many separately-developed userlands (GNU, BusyBox, musl). |
| License | Permissive BSD — closed-source forks allowed. | GPL — derivative kernels must stay open. |
| Init system | BSD rc scripts. | systemd, OpenRC, runit, etc. |
| Filesystem | UFS, ZFS standard. | ext4 default, ZFS/Btrfs available. |
| Packages | FreeBSD pkg + Ports tree (build from source). | Distribution-specific (apt, dnf, pacman, apk). |
| Documentation | Famously thorough man pages, the "BSD handbook." | Varies wildly by project. |