Royal Navy Bets Nuclear Subs on Linux, Hopes systemd Behaves
Sure, Linux powers servers, supercomputers, smartphones—and nuclear submarines. In 2004, the UK's Royal Navy quietly replaced its legacy proprietary OS with a custom hardened version of Linux aboard its Vanguard-class ballistic missile subs. Admiralty brass quickly realized that open-source software was not only cheaper, but more secure and reliable. So...
Read MoreVi vs Emacs: Unix’s Holy War Sparked by Clunky ’70s Hardware
The endless, tedious "Emacs versus vi" editor flame war—now going strong for four decades—actually traces its roots to slow 1970s printers at Bell Labs. Bill Joy developed vi largely because his ADM-3A terminal was painfully slow and lacked cursor keys, making Emacs-style line-by-line editing agonizingly frustrating. In contrast, Richard Stallman's...
Read MoreExt2: Linux’s Legendary Filesystem Brewed Up on Boozy Napkins
Linux filesystems weren't always designed with sober clarity. Legend holds that ext2, once Linux's dominant filesystem, was sketched out during a particularly heavy drinking session at a local pub in France by developer Rémy Card and friends. A beer-soaked napkin held the initial design specs, hashing out block allocation strategies...
Read MoreUnix Born From Dumpster-Diving Devs Defying Stingy Accountants
Ever wonder why Unix first emerged on a PDP-7 machine? Simple answer: budget cuts. Bell Labs management refused to fund Thompson and Ritchie's ambitious new OS project, labeling it wasteful after Multics' spectacular collapse. Undeterred, they salvaged an unused PDP-7 minicomputer from a storeroom—essentially dumpster diving their way to computing...
Read MoreWhen Unix Let You Nuke Root and Live to Brag About It
Unix admins often joke about the legendary dangers of rm -rf /, the nuclear option that promises digital annihilation. But surprisingly, certain early Unix systems survived such brutality without batting an eye. Thanks to filesystems structured in memory and carefully segregated partitions, some ancient Unix versions would let root blithely...
Read MoreUnix Pipes: Lazy Programmer’s Shortcut Becomes Sysadmin’s Monstrous One-Liner
Unix's elegant pipe operator (|)—allowing sysadmins to effortlessly chain commands together—was invented largely because of programmer laziness. Douglas McIlroy, fed up with writing tedious intermediate files and shuffling data manually, demanded a simpler solution. His colleagues at Bell Labs grudgingly obliged, introducing the pipe as an inter-process communication mechanism. Laziness...
Read More