Many people who use Unix-based systems know little about the colorful history of their operating system. Today’s Linux distributions, macOS and the operating systems in many mobile devices all trace their origins to two AT&T programmers who wanted to play Space Travel without paying $75 for each game. Here’s how Ken Thompson, Dennis Ritchie and Rudd Canaday set in motion the development of an operating system that remains in remarkably good health decades later.
Users may have discovered the benefits of Unix through newer Linux distributions such as Ubuntu, but Unix had already been in development for nearly four decades. Its story began in the late 1960s, when the Massachusetts Institute of Technology (MIT), AT&T’s Bell Laboratories and General Electric worked on an experimental operating system called Multics, short for Multiplexed Information and Computing Service. It ran on a General Electric GE-645 mainframe, a type of computer common at the time: one central machine served many “dumb” terminals.
Ken Thompson and Dennis Ritchie working at the DEC PDP-7.
The companies aimed to build “a large interactive operating system” with strong security policies. Until then, data security largely depended on computers being scarce: there were few of them, and access was restricted to authorized personnel. As prices fell and computer use spread, however, tools to protect information had to become part of an operating system’s core. Multics achieved some success, and production versions existed, but poor performance led AT&T to withdraw from the project.
Ken Thompson, a programmer on AT&T Bell Labs’ team, continued writing software for the GE-635. Among his programs was Space Travel. He found that the game ran slowly on the General Electric machine and was expensive to use—about US$75 per session. So he and his friend Dennis Ritchie rewrote it in the assembly language of a more popular, less expensive computer: the DEC PDP-7.
The Unix “family tree.”
Thompson and Ritchie enjoyed working together. In 1969, still at Bell Labs, they assembled a team of programmers that included Rudd Canaday. Their goal was to build an operating system that met Multics’ original aims but could run on a DEC PDP-7. They began with the file system and the operating system’s kernel, which would be able to run processes simultaneously—that is, support multitasking.
The team also built a small command interpreter and a modest collection of utility programs. They called the project UNICS, short for Uniplexed Information and Computing System. At first, it could serve only two users at a time. Kernighan chose the name; a play on words made UNICS sound like a castrated version of Multics, since “eunuchs” is a homophone of UNICS. The name was therefore changed to UNIX, which is still used today.
UNIX soon caught the attention of Bell Labs management: they now had a robust operating system on their hands. AT&T had spent no money on UNIX’s development, but when the Computer Science Research Group decided to run it on a machine more powerful than the PDP-7, Thompson and Ritchie secured funding from the company. They began rewriting the software for a PDP-11/20, and in 1970 UNIX ran on that platform for the first time.
The programmers had included a text-formatting program called runoff and a primitive text editor in the package. They did all the work in PDP-11/20 assembly language. Bell Labs used this early text-processing system to handle patent applications. Runoff was soon substantially improved and renamed troff; it is regarded as the first electronic publishing program capable of typesetting. On November 3, 1971, Thompson and Ritchie published the first UNIX programming guide, the UNIX Programmer’s Manual.
In 1972, Ken Thompson and Dennis Ritchie created the C programming language. To make UNIX portable to other platforms, they needed a high-level language that remained close to assembly. They wanted C compiler output to be fast enough for writing operating systems. That year, they decided to rewrite UNIX in C, making it easier to adapt to other computers and allowing other programmers to develop different versions.
AT&T licensed UNIX to universities, private companies and the U.S. government. The University of California’s Department of Computer Science in Berkeley received a license and, in 1975, developed and released its own UNIX “clone,” the Berkeley Software Distribution (BSD). BSD would later become a major competitor to AT&T’s UNIX. A June 1972 remark attributed to Dennis Ritchie and Ken Thompson gives a sense of UNIX’s reach at the time: “...the number of Unix installations has reached 10, and we expect it to increase...”
AT&T created a commercial division, Unix Systems Laboratories, to handle the operating system’s commercial exploitation. New computers and contributions from programmers using C to improve the system led to successive UNIX releases. Version 6 arrived in 1975 and included “pipes,” which gave the project a modular structure and helped accelerate development. An estimated 600 computers around the world were running some version of UNIX by 1978. Version 7, the last widely distributed release based on the original UNIX, entered circulation in 1979. It also served as the basis for Plan 9, a portable, distributed operating system that Bell Labs designed as a successor to UNIX for research work.
The Fedora desktop, from a Unix version that has traveled around the world.
AT&T developed and sold UNIX System III, based on Version 7, starting in 1981. The proliferation of versions was causing confusion, so in 1983 the company combined its own work with developments from universities and businesses to create Unix System V Release 1. It introduced features including the Vi editor and the curses library, both developed by BSD.
Two years later, Novell acquired AT&T’s Unix Systems Laboratories and took over a legal dispute between the lab and BSD involving copyright infringement, disclosure of trade secrets and trademark violations. Novell’s shareholders had to confront the discovery that large portions of BSD code had been illegally copied into UNIX System V, and BSD was countersued. Since Novell’s intellectual property amounted to only a few source files, the dispute ended in an out-of-court settlement whose terms remained secret at Novell’s request.
Meanwhile, from the mid-1980s, Richard Stallman of MIT was working on what would become free software. He created a Unix-like system intended for free distribution, called GNU—Gnu’s Not Unix. Around the same time, Finnish computer science student Linus Torvalds began developing a kernel for computers based on the Intel x86 architecture. It replicated many UNIX functions. The embryonic operating system was released as open-source software in 1991 under the name Linux. The following year, the Linux kernel was combined with programs developed by the GNU Project, producing the GNU/Linux operating system.
The rest is history. What began almost as a pastime for two gifted programmers became a powerful, secure and flexible operating system family, capable of running on mobile phones, personal computers and computer clusters. Even the widely praised macOS is a complete UNIX system certified by The Open Group. It differs in having a proprietary graphical interface, Aqua, developed in Objective-C rather than C or C++. Despite being nearly 40 years old, UNIX remains more relevant than ever.
UNIX development