Skip to main content

Unix

Pronunciation
YOO-niks
Updated 2 min read

Share this page

Send the link, quote the definition with a link back, or show it as a card on your own site.

https://softwaredictionary.org/terms/unix

In short

Unix is a family of operating systems that began at Bell Labs in 1969 and whose design, with small tools, files and a shell, lives on in Linux and macOS.

What is Unix?

Unix was created by Ken Thompson, Dennis Ritchie and others at AT&T's Bell Labs, starting in 1969. It was rewritten in the C language in the early 1970s, which made it unusually easy to move to new hardware, and it spread through universities and companies into many versions, such as BSD, Solaris, AIX and HP-UX.

Its design ideas outlived the original systems. Programs are small tools that each do one job well and can be chained together with pipes; almost everything, including devices, is treated as a file; and people work through a shell that runs commands. Several users, file permissions and processes were part of the system from the start.

Today "Unix-like" describes systems that follow these ideas and the POSIX standard. Linux, written from scratch in 1991, is Unix-like, and macOS is a certified Unix. That is why the same commands, such as ls, grep and ssh, work on Linux servers and on Macs alike.

Key takeaways

  • Unix began at Bell Labs in 1969 and was soon rewritten in C.
  • Its philosophy: small tools that each do one thing well, combined with pipes.
  • Almost everything is a file, and people work through a shell.
  • Linux and macOS carry the Unix design on, and POSIX standardizes it.

Example

Small Unix tools chained with pipesbash
# The five most common words in a file
tr -s ' ' '\n' < notes.txt | sort | uniq -c | sort -rn | head -5

Readers ask

Is Linux Unix?

Not by descent: Linux was written from scratch and contains no original Unix code. It is Unix-like, following the same design and the POSIX standard, so in practice it behaves much like Unix. macOS, by contrast, is officially certified as Unix.

Why do servers mostly run Unix-like systems?

Linux and the BSDs are stable, free to use, easy to automate from the command line and good at running many services for a long time without a restart, so they became the usual choice for web servers and the cloud.

See also

Spotted a mistake or something missing on this page?Suggest an edit

Read a random page
Open today's review
Switch to the dark theme
Read this page in Türkçe

More

Settings