What is the difference between Linux and Unix?

Linux is a descendant of Unix, but it is not Unix. So, what is the difference between Linux and Unix? Let's take a deep dive and clarify it once for all.

When discussing Linux and Unix with average users, it’s not uncommon that they will sometimes mistakenly interchange the terms Linux and Unix.  The two are not the same.  Though they share similarities in their overall structures and toolkits, they are decidedly not the same.

Linux is a descendant of Unix, but it is not Unix.  The approach and the philosophy behind Linux are entirely different from Unix.  But to fully understand their differences, we must explore what each operating system is and the history of each.

What is Unix?

Unix began with a small team of programmers, most notably Ken Thompson and Dennis Ritchie, in the late 1960s at AT&T Bell Labs.  Tasked with writing a multi-user, multi-tasking operating system for the PDP-7, the first iteration of what would become Unix was Multics and coded primarily in assembly language.

Ken Thompson and Dennis Ritchie (standing), part of the original Unix development team, at work on a PDP-11.
Ken Thompson and Dennis Ritchie (standing), part of the original Unix development team, at work on a PDP-11

In the early 1970s, the team rewrote the operating system in the C programming language.  It was this decision that separated Unix from the few other operating systems available.  Operating systems hereto were coded in low-level programming languages like assembly that tightly linked them to and made them dependant upon the hardware platform they were developed for.  By rewriting Unix in the C programming language, Unix, no longer hardware-dependent, was now portable and could be transported to different hardware platforms.

This portability led to a rapid expansion of Unix, far beyond AT&T Labs, and it was soon the de facto standard for academic, research, and commercial users.  The philosophy of Unix, coding small, independent, purpose-built programs to work in combination to complete complex overall tasks, also proved attractive to both programmers and users.  Within just a few short years, Unix was the “big boy” on the block.

What is Linux?

What we know as Linux today is the culmination of two separate efforts from the 1990s.  Richard Stallman, a programmer at the MIT Artificial Intelligence Laboratory, wanted to create a free and open-source alternative to Unix.  He began building a library of programs and utilities. He dubbed GNU (GNU is not Unix!).  However, although the applications and utilities were flowing and were impressive, GNU was not a real operating system as he did not have a kernel to go with his GNU.  Enter Linus Torvalds, a student at the University of Helsinki.

The licensing of his university’s OS of choice, Minix (Unix’s precursor), frustrated Torvald.  Minix, at that time, was limited to educational use only.  Undeterred, Torvald began work on his OS kernel, using the Unix-like Minix kernel as his model.  That kernel eventually became the Linux kernel.

The marriage of Stallman’s GNU toolset and Torvalds’ Linux kernel was a custom-made match that resulted in a viable free and open-source alternative to the proprietary Unix OS and associated programs and utilities.  As a result, GNU/Linux (usually just referred to as Linux) was born.

5.25-inch floppy disks holding a very early version of Linux.
5.25-inch floppy disks holding a very early version of Linux

The Linux kernel would have been of little value without GNU, and likewise, the Linux kernel without GNU.

Early popular distributions of GNU/Linux like Red Hat and Slackware afforded old 1990 PC users alternatives to the much-maligned, often-despised Windows OSs.  Also, because GNU/Linux is free and open-source, interested Linux enthusiasts could (and can) create their own Linux distributions because Linux and its components are free and open-source.  And build they did and do.  There are currently over 275 different Linux distributions available for free download. Popular distros like Fedora, Ubuntu, Manjaro, Linux Mint, and others keep my fellow writers and me at FOSS Linux busy providing news, tips, and how-to articles to our readers.

The popularity of Linux and the FOSS concept continues to grow, too.  Even Microsoft, once a sworn enemy, has now embraced Linux and the open-source concept.  Google uses the Linux kernel for both Android and Chrome OS, and many other Linux-based projects are on the market and in development, such as IBMs LinuxONE and mainframes. These are customized to run Linux and open-source software. Even the Librem 5 Phone, and Mythbuntu, the special edition of Ubuntu that includes the MythTV media center software run on Linux.

What are the differences between Unix and Linux?

So we know that Linux is “Unix-like” but is not Unix.  What are the differences?  Hopefully, this table helps to illuminate the many and striking differences between Unix and Linux.

Premise of DifferenceLinuxUnix
OrginOriginal code developed by the GNU Foundation and Linus Torvalds.Original code developed by AT&T Bell Labs.
CostLinux is free and freely distributed. Paid versions exist, also.Different flavors of Unix is available at a cost dependent on the vendor and Unix variant.
Source ModelOpen-source. Its source code is available publically.Unix is traditionally closed-source, but some open-source Unix projects now exist like illumos OS and BSD.
Text InterfaceBash is Linux's default shell. However, it can support multiple command interpreters.The Bourne shell originally, However, now other's such as Bash, Korn, and C can be used.
GUIOriginally just KDE and Gnome, but now alternatives like Xfce, Mate, Unity, etc. are available.Unix was initially only command-based OS.
Later a GUI, Common Desktop Environment was created. Now most variants ship with Gnome.
Processor/ArchitectureLinux was originally developed for x86 hardware. Now, however, ports are available dozens of CPU types.PA-RISC and Itanium machines, but some UNIX variants are available for x86/x64 based systems, PowerPC, and others.
Architecture
VersionsVersions in Linux are known as distros. There are hundreds. Fedora, Red Hat, Suse, and Manjaro are but a few.Versions in Linux are known as variants.
SCO-Unix, HP-UX, AIX, OS X, Solaris are a few popular ones.
Supported File TypesExt2, Ext3, Ext4, Jfs, ReiserFS, Xfs, Btrfs, FAT, FAT32, NTFSjfs, gpfs, hfs, hfs+, ufs, xfs, zfs
Official Websitewww.kernel.orgopengroup.org/unix

A picture This chart shows the relationship between Unix and Linux as well as other Unix-like systems.
A picture This chart shows the relationship between Unix and Linux and other Unix-like systems.

Conclusion

Unix and Linux share many similarities such as the CLI and GUI interfaces, a POSIX interface, various development tools like Perl, PHP, and Python, shells, and various office applications like OpenOffice.org.  Despite these similarities, they are not the same.  We’ve covered both OSs histories along with their similarities and differences.

However, Linux users and aficionados need to note that without Unix, there would be no Linux.  The younger OS owes a debt of gratitude to its “father” OS.  However, Linux is a “grown” OS now, a self-sustaining operating system with hundreds of different distributions vital in making the modern world run.  From PC and laptop operating systems to cellphones to websites, Linux makes possible much of what we do in our daily life.

So, the next time that you install a new or different Linux distro, make a call on your smartphone or even pay your electricity bill online at your provider’s website, thank Linux, but don’t forget to appreciate its “dad,” Unix, too.

Travis Rose
Hi, I'm M Travis Rose, a contributor to FOSS Linux. I have over thirty years of experience in the IT arena, at least fifteen of which has been working with Linux. I enjoy converting existing Windows users to the wonderful world of Linux. I guess you could call me a Linux-evangelist. Long live Linux!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,648FansLike
360FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

How to install CMake on Ubuntu

CMake is a cross-platform free and open-source software tool designed to build, test, and package the software. CMake uses a simple platform and compiler-independent configuration files to control the software compilation process.

How to install Lightworks on Ubuntu

Even though Linux may not get a native installer of video editing software like Adobe Premiere or Final Cut Pro, that doesn't mean there are no industry standards tools available. Lightworks is non-linear editing (NLE) video mastering app for Windows, Linux, and macOS. Installing it on Ubuntu is simple due to deb package availability.

How to install DaVinci Resolve on Fedora

Davinci Resolve is a professional application used for color correction, video editing, visual effects, and motion graphics. It is one of the extensively used software by movie industries located in Hollywood.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.

5 Ways to Open a Terminal in Ubuntu

Even though Ubuntu supports many applications with amazing Graphical User Interfaces (GUI), there are always reasons why users prefer using the Terminal to perform different tasks.

How to install Wine on Fedora Workstation

Linux distributions are becoming more and more popular every day, and Fedora Workstation is not left behind. This popularity brings forth the need to run Windows applications on Linux distros like Fedora. Windows has quite some excellent Software that is not available for Linux.

MUST READ

Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.
Elementary OS 5.1 Hera has received a point release with a handful of new features and bug fixes, and we will be reviewing the significant changes in this article. For those new to elementary OS, this Ubuntu-based Linux distribution uses their inhouse built Pantheon desktop environment and AppCenter.

Pop!_OS 20.04 Review: Professional Linux Distribution Ever Made

Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

6 cool and fun Linux commands you don’t want to miss

The real purpose of this article is to help Linux newbies get comfortable and confident with the Linux command-line.  While knowledge and comfort of the Linux GUI allow great power, it is the mastery of the command line, or CLI, affords the Linux user unlimited power and certifies them as a Linux power user well on their way to becoming an expert.

5 Best Music Players for Linux

For sure, there will be Linux users out there who cannot live without music. If you're one of those people, you would know how important it is to have a good music player installed on your computer system. In this article, we present to you the 5 Best Music Players for Linux, which will hopefully be able to satisfy each of our readers' needs.

Scrcpy – Control Android devices from a Linux desktop

Scrcpy is a desktop program that can be used to access your Android phone's system and interface through your computer. The app is quite convenient, and some of its best features are highlighted below.