After Multics: recovering a place to program
At the end of the 1960s, most computers still worked in batches: you submitted a job and waited for the result. Time-sharing, demonstrated at MIT with CTSS, instead let several people converse with the same machine from terminals. The article on the origins of operating systems traces that development.
Multics, led by MIT, General Electric and Bell Labs, set out to turn that conversation into a durable, reliable and secure service. The project was extremely ambitious and was slow to deliver a usable system on the terms people had hoped for. In 1969, Bell Labs withdrew.
For the researchers of the Computing Science Research Center, the withdrawal meant losing a working tool. Dennis Ritchie explained it in his 1979 account: what they wanted to preserve was “not just a good environment in which to do programming, but a system around which a fellowship could form”. The essence of time-sharing, he added, is to encourage close communication between the people who use it.
Throughout 1969, Joe Ossanna, Ken Thompson and Dennis Ritchie asked for a medium-sized machine on which to write a new system. Their proposals were never clearly turned down, but never accepted either. So the work started elsewhere: on paper, and then on a computer that happened to be available.
1969–1971: from blackboard to patent department
A file system sketched on a blackboard
Before any code was written, Thompson, R. H. Canaday and Ritchie worked out the structure of a file system together, on blackboards and scribbled notes. Ritchie credited most of the design to Thompson and claimed for himself the idea of special files, which represent devices as files.
Thompson then found a little-used Digital Equipment PDP-7 with a good graphics display. With Ritchie, he first rewrote Space Travel on it, a space simulation game. The exercise mainly taught them how to prepare programs for that machine: code was assembled on another computer and carried over on punched paper tape.
Thompson then implemented the planned file system and what was needed around it to make a complete system: processes, a few utilities to copy, print, delete and edit files, and a command interpreter. Once the assembler had been brought over to the PDP-7, the system could support its own development. Ritchie places the birth of the Unix we know at this point, in 1969.
The name came a little later. During 1970, Brian Kernighan suggested “Unix”, a pun on Multics that Ritchie called “somewhat treacherous”. The small system defined itself by contrast with the large project the team had just left.
The PDP-11 and the patent department’s typists
The PDP-7 was already old and did not even belong to the team. Early in 1970, the group proposed buying a PDP-11, which Digital had just introduced. The proposal promised a text-processing system, a field that fascinated Joe Ossanna. L. E. McMahon found the funds, the order was placed in May 1970, but the disk only arrived in December.
In early summer 1971, the team offered the Bell Labs patent department a system for editing and formatting patent applications. The roff formatter, adapted from a program by McIlroy that had itself been inspired by runoff on CTSS, could number lines as the Patent Office required. Three typists worked on the machine during the second half of 1971.
Conditions were rudimentary: no memory protection, a half-megabyte disk and frequent backups to tape. Yet the experiment succeeded. The department adopted Unix, and the team obtained a more powerful PDP-11/45. The first programmer’s manual, the First Edition, was completed in November 1971.
The ideas that make Unix
One tree of files
For Unix, an ordinary file is a sequence of bytes. The system imposes neither a record format nor an internal structure: it is up to the program reading the file to give it meaning. This neutrality lets very different tools work on the same data.
Files are stored in nested directories, starting from a root written /. A path such as /usr/ken/notes names a position in that tree. With mount, a removable disk or another volume can be grafted onto a branch, and the whole remains a single hierarchy for the user.
Special files complete the model. A terminal, a disk or a printer appears in the /dev directory and is read or written with the same operations as a file. A program that writes to a file can therefore write to a device without changing its method.
Files also carry access rights. In the 1978 version of their paper, Ritchie and Thompson describe nine bits that separately grant read, write and execute permission to the owner, to the owner’s group and to all other users, plus a bit that lets a program run with the rights of its creator. The Unix permissions calculator translates these combinations into rwx notation and octal values.
Processes created in two steps
A process is a running program. Unix creates a new one in two steps. The fork call duplicates the current process; the copy, called the child process, can then call exec to replace its program with another.
The separation looks roundabout, but it gives a great deal of flexibility. Between fork and exec, the child can adjust its environment, for example by changing directory or redirecting its input and output. Ritchie recalls that the first version of fork on the PDP-7 took 27 lines of assembly code, because the system could already swap two processes to and from the disk.
A shell that is just another program
The shell reads the commands typed by the user, creates the corresponding processes and waits for them to finish. In Unix it is a user program stored in a file rather than part of the kernel. Ritchie considered this choice crucial: anyone can write a different one, and the system can evolve without touching its core. The Bourne shell, written by Stephen Bourne and distributed with the Seventh Edition in 1979, is the ancestor of the shells still in use.
Redirection arrived very early. With ls > list, the output of ls goes to the file list instead of the terminal; with <, a program reads a file as if it came from the keyboard. Ritchie traces the idea back to a mechanism in Multics, where the same operation required a much clumsier sequence of commands.
Pipes: connecting programs like garden hoses
In 1964, Doug McIlroy summed up his priorities in an internal Bell Labs memo: “We should have some ways of connecting programs like garden hose—screw in another segment when it becomes necessary to massage data in another way.”
The idea had to wait several years. McIlroy kept pressing for it, and pipes entered Unix around the turn of 1972 and 1973: Ritchie dates them to 1972 in his account, and they appear in the Third Edition, whose manual he places around February 1973. Their first notation reused >; after a few months it gave way to the | character. The word filter was coined for a program that reads its standard input, transforms it and writes the result to its standard output. Many utilities were then changed to work this way.
Take an activity log called events.log:
08:00 INFO connection opened
08:01 ERROR disk full
08:03 ERROR connection lost
08:04 INFO connection opened
08:07 ERROR disk full
08:09 ERROR file not found
08:12 ERROR disk full
08:15 ERROR connection lost
To find out which errors occur most often, five programs are enough:
grep ERROR events.log | cut -d ' ' -f 3- | sort | uniq -c | sort -rn
grep keeps the error lines, cut removes the time and the level, sort groups identical messages, uniq -c counts them and sort -rn ranks the totals from largest to smallest. With the GNU tools, the result is:
3 disk full
2 connection lost
1 file not found
Each of these programs works without knowing about the others. Each reads one stream of text and writes another; the kernel carries the data from one process to the next. Replacing grep ERROR with grep connection produces a different analysis without rewriting anything.

Original Bethemesh diagram. The five programs run at the same time; each pipe is a buffer managed by the kernel, which makes the reader wait until data arrives.
In his chronicle of the research editions, McIlroy notes that the appearance of pipes raised the standard-input, standard-output design to the status of a “philosophy”. The Fourth Edition added grep, written by Thompson; other tools such as tr, sed and awk followed the same model. The profile of Brian Kernighan shows how this culture of small tools was explained and passed on.
1973: a system rewritten in C
The first versions of Unix were written in assembly language. That choice tied the system to one particular processor: moving to another machine meant rewriting almost everything.
Thompson first created B, a language derived from BCPL. Ritchie then reworked it, adding types suited to the bytes of the PDP-11, which produced NB in 1971 and then the C language. In 1972 Thompson briefly tried to write the kernel in an early C that still lacked structures, then gave up. By the summer of 1973 the language was mature enough, and the Unix kernel was rewritten in C. The new system was about a third larger than the old one, but much easier to understand and modify.
The Fourth Edition, whose manual dates from November 1973, followed that rewrite by a few months. In October of the same year, Ritchie and Thompson presented Unix at the Symposium on Operating Systems Principles; their paper appeared in Communications of the ACM in July 1974. It was the first public description of the system.
Writing an operating system in a high-level language was not an absolute first: Multics had already been written in PL/I. The bet Unix made was to do it with a compact language that stayed close to the machine and was efficient enough for a minicomputer. The history of the C language follows the rest of that story, from Kernighan and Ritchie’s 1978 book to the ANSI standard.
From Bell Labs to the universities
Unix belonged to AT&T, the parent company of Bell Labs. Under a 1956 consent decree, AT&T could not sell products unrelated to the telephone business. So the company licensed the source code to anyone who asked, for a nominal fee and without support. Universities in particular received a complete system they could study, fix and transform.
This mode of distribution changed the nature of Unix. In 1977 John Lions, a lecturer at the University of New South Wales, published an annotated commentary on the source code of the Sixth Edition. Photocopies of it circulated among students for years, even after AT&T restricted its distribution. In the 1978 version of their paper, Ritchie and Thompson counted over 600 installations since PDP-11 Unix went into service in February 1971.
Portability then became an explicit goal. Around 1977, Ritchie, Thompson and Steve Johnson moved Unix to the Interdata 8/32, a machine very different from the PDP-11. For the occasion, Johnson wrote pcc, a C compiler designed to be easily retargeted to other processors. The difficulties they met reshaped the language itself.
The Seventh Edition, in 1979, brought these advances together. McIlroy describes it as the first portable edition and the last common ancestor of countless variants: most of the branches described below start from it.
A family that branches out

Original Bethemesh diagram, simplified and not to scale. Solid arrows indicate code being passed on; the dashed lines indicate compatibility of interfaces and conventions. AIX and HP-UX are shown without an arrow, as no primary source establishes their exact lineage.
Berkeley and BSD
The University of California, Berkeley played a major role. Thompson spent a year there as a visiting professor in 1975–76. Early in 1977, the student Bill Joy put together a first Berkeley Software Distribution, with a Pascal system and the ex editor. In 1979 Berkeley released 3BSD for VAX computers, with paged virtual memory.
Funded by DARPA, Berkeley’s Computer Systems Research Group released 4.2BSD in August 1983, with an integrated TCP/IP networking stack. The universities that installed it had a system ready to join the networks that would become the Internet.
Berkeley then set about replacing the AT&T code still present in its distributions. In 1992 Unix System Laboratories, an AT&T subsidiary, sued BSDi, a company selling a system derived from that work; the University of California, also targeted, responded with a counter-suit. The January 1994 settlement removed just three files out of some 18,000. In June 1994, 4.4BSD-Lite could be freely redistributed. NetBSD, FreeBSD and then OpenBSD carry this branch forward today. Their story deserves an article of its own.
AT&T and commercial Unix
In the early 1980s AT&T sold its own versions, System III and then System V, managed by a group focused on stable releases. The break-up of the Bell System in 1984 then gave it a freer hand in the computer market. Manufacturers also offered their own Unix systems: AIX at IBM, HP-UX at Hewlett-Packard and Solaris at Sun. Solaris shows how these lineages intertwined: its base, SunOS 5, is built on AT&T’s System V Release 4 and differs considerably from earlier SunOS releases, to the point that Sun supplied a “SunOS/BSD” compatibility package to ease the transition for programs.
These systems shared a common base, but each added its own tools, options and interfaces. The 1980s were a decade of fragmentation: a program written for one Unix would not necessarily run on another.
Unix, Unix-like and UNIX®: three meanings of one word
To limit that fragmentation, the IEEE published the POSIX standard in 1988 (IEEE Std 1003.1-1988). It defines a common interface for programs: system calls, the behaviour of commands and file conventions. According to the FAQ of the Austin Group, which maintains the standard today, the name was suggested by Richard Stallman.
The word “Unix” therefore covers three things:
| Term |
What it means |
Examples |
| Historical Unix |
The Bell Labs system and the code that descends from it |
Research Unix, System V, BSD |
| Unix-like system |
A system that adopts the ideas and interfaces of Unix, whatever the origin of its code |
Linux, FreeBSD, macOS |
| UNIX® |
A trademark managed by The Open Group, reserved for systems certified as conforming to the Single UNIX Specification |
AIX, HP-UX, IBM z/OS |
The Open Group’s register is explicit: only systems that are fully compliant and certified may use the UNIX trademark. A certification applies to specific versions of a product.
Linux: a new kernel in the Unix tradition
On 25 August 1991, the Finnish student Linus Torvalds announced on the comp.os.minix newsgroup a free operating system for PCs with a 386 processor, describing it as “just a hobby”. He drew on MINIX, a small Unix-like teaching system written by Andrew Tanenbaum in 1987 to accompany his textbook Operating Systems: Design and Implementation, and stated that his kernel contained no MINIX code.
Linux is therefore a separately written kernel. It became a complete system by teaming up with independent components, notably those of the GNU project launched by Richard Stallman. That system belongs fully to the Unix tradition through its interfaces, commands and organisation, without descending from AT&T’s code. The history of the Linux kernel tells the rest of the story.
The BSD lawsuit partly explains this success. According to the Unix historian Warren Toomey, Torvalds would probably not have written Linux if the 386BSD system had been available earlier, free of legal uncertainty.
macOS: the BSD branch via NeXT
The system on today’s Macs descends from another line. NeXTSTEP, the system developed by the company NeXT, combined the Mach kernel with components taken from BSD. After acquiring NeXT, Apple reused its technology for Mac OS X, now macOS. Apple’s documentation describes Darwin, the core of the system, as based on BSD, Mach 3.0 and Apple technologies; the BSD layer derives mainly from FreeBSD.
Apple has had several versions of its system certified. Mac OS X 10.5 Leopard, for instance, was registered as conforming to the UNIX 03 standard on 18 May 2007. A Mac user has a terminal, a shell and the classic Unix tools at hand.
What Unix left to today’s computing
The legacy of Unix goes well beyond the systems that bear its name. It can be seen at several levels:
- the command line, with its short commands, options and processing chains, still central to server administration, software development and automation;
- the file tree with a single root, paths separated by
/ and access to devices as if they were files;
- system calls standardised by POSIX, which make it possible to write programs that are portable between Linux, BSD, macOS and certified Unix systems;
- the C language, spread alongside Unix and now the basis of many systems and languages;
- a design method: preferring small tools that cooperate to a single program that tries to do everything.
That legacy also has its limits. A stream of text is easy to pass along, but it has to be split and interpreted at every step; some structured formats and graphical interfaces fit the model poorly. Unix security has had to be strengthened far beyond the nine permission bits of the early days.
Finally, Unix left behind a date. Ritchie recalls that early versions changed the origin of their clock several times before settling on 1 January 1970 and a resolution of one second. Unix time, counted in seconds since that date, is still used to timestamp files, logs and exchanges between programs.
Frequently asked questions
Are Unix and Linux the same thing?
No. Unix refers to the system born at Bell Labs and its code descendants, or to the UNIX® trademark reserved for certified systems. Linux is a kernel written from 1991 onwards by Linus Torvalds and many contributors, without reusing AT&T’s code. Linux systems are “Unix-like”: they share its ideas, its commands and much of the POSIX interfaces.
Who created Unix?
Ken Thompson and Dennis Ritchie were its main authors. Thompson wrote most of the first system; Ritchie took part from the start and then created the C language in which Unix was rewritten. Other Bell Labs staff played important roles: Doug McIlroy for pipes, Joe Ossanna for text processing, R. H. Canaday for the design of the file system, and Brian Kernighan for the name and many tools.
Why is it called Unix?
Brian Kernighan suggested the name in 1970 as a pun on Multics. It underlines the contrast between a deliberately simple system and the highly ambitious project Bell Labs had just left.
Is macOS a Unix system?
macOS descends from NeXTSTEP, which combined the Mach kernel with components taken from BSD, itself derived from Bell Labs Unix. Several versions have been certified by The Open Group, such as Mac OS X 10.5 Leopard in 2007. To find out whether a particular version holds the UNIX® certification, check The Open Group’s register.
What is the POSIX standard for?
POSIX defines a common interface for Unix-like systems: system calls, commands and shell behaviour. A program that sticks to this interface can be compiled and run on different systems with few changes. The first standard dates from 1988; its most recent revision was published in 2024.
Why does Unix time start on 1 January 1970?
The earliest versions of Unix measured time very finely, which quickly exhausted the capacity of their counter. The team moved the origin of the clock several times before choosing 1 January 1970 and a count in seconds. The timestamp converter turns these numbers into readable dates.
Is Unix still used today?
Yes, in several forms. Certified Unix systems such as AIX and HP-UX still run on enterprise servers. Above all, Unix-like systems, led by Linux, power a large share of servers, web infrastructure and developer workstations, while macOS carries the BSD branch forward on Apple’s computers.