How are a Mac, an Android phone and a web server related?
Lesson 19.1 · The Unix Family Tree
Rob · Sarah · Jenny
Rob’s Mac and Jenny’s Linux: cousins.
Rob draws a family tree on the whiteboard.
At the top: Unix, 1969, Bell Labs, the same lab that made the transistor.
Branches run down to macOS, to iPhones, to Linux, to Android. Windows sits off to the side on its own branch, growing from DOS.
Sarah points out that means Rob’s Mac and Jenny’s Linux are cousins. Rob and Jenny look at each other with mild horror.
The short answer
They’re all descendants of Unix, built at Bell Labs in 1969. macOS sits on a Unix base, and Android and most web servers run Linux, which was built to work like Unix. Windows is the odd one out. Grandma Ruth’s laptop has been on the Windows branch for ten years.
Try it yourself
Tap each system to see where it came from.
Tap a stop to see where it goes next.
What you just did has a name
Unix
Unix is an operating system created at Bell Labs in 1969 for big shared computers.
Its ideas, a tree of files, users and permissions, and small tools controlled by typed commands, were so good that most of today’s operating systems descend from it or copy it. macOS and iOS are built on a Unix base; Linux was written to work like Unix; Android and ChromeOS run on Linux.
Windows is the big exception, with its own separate lineage.
A few more things
Why Unix spread
Bell Labs shared Unix with universities for very little money in the 1970s. A generation of students learned it, and took its ideas everywhere they went.
Cousins share habits
That’s why a Mac’s Terminal and a Linux command line understand many of the same commands, like ls and cd from Module 18.
Windows went its own way
Modern Windows runs on a core Microsoft built in the early 1990s, called NT. It borrowed ideas from many places but isn’t part of the Unix family.
Go deeper
The longer version, if you want it.
The C language came along too
Unix was rewritten in a new programming language called C, created at Bell Labs by Dennis Ritchie, who built Unix with Ken Thompson. Writing an operating system in a language instead of raw instructions meant it could be moved to new kinds of computers much more easily.
C and its descendants became some of the most used programming languages in history. A huge share of the operating systems and apps you use were written in C or languages built on it.
Quick check
Which operating system is NOT part of the Unix family?
Let’s take it slower
Think of languages. Spanish, French and Italian all grew from Latin, so they share a lot of words. English borrowed some but grew from a different root. Unix is the Latin: macOS, Linux and Android grew from it and share its habits. Windows is the English of the group.
More examples
The smart TV in the living room
Plenty of smart TVs, routers and even some car dashboards run software built on Linux. You’d never know from the menus, but a lot of everyday gadgets have Unix’s family tree inside them.
The websites you visit today
Most of the websites you’ll open today are sent to you by servers running Linux, a member of the Unix family. You never see them, but a big part of the internet runs on ideas from a lab in 1969.
Back to the question
So how are a Mac, an Android phone and a web server related?
Show the answer
They’re all descendants of Unix, built at Bell Labs in 1969. macOS sits on a Unix base, and Android and most web servers run Linux, which was built to work like Unix. Windows is the odd one out. Grandma Ruth’s laptop has been on the Windows branch for ten years.
More on this: Mac vs. Windows vs. Linux: which should you get?
One last question
Mark asks what Unix has to do with anything. Who got it right?
Talk Card
Talk Card · 19.1
A Mac, an Android phone and most of the web share one ancestor: Unix, from 1969. Windows grew up on its own.
How Computers Work · pettigrewlab.com/learn


