What is `Unix`, `Linux`, `POSIX`, `GNU`?

296 阅读1分钟

From the point of view of the end-user, Unix and Linux are the same thing. So where really does the difference come in?

The comparison between Unix and Linux

ItemComparedWithLinuxUnix
DeveloperCommunity contributors, Linus TorvaldsKen Thompson, Dennis Ritchie etc.
Written inC, assembly languages, and othersC and assembly language
OS familyUnix-likeUnix
Working stateCurrent
Source modelOpenmainly proprietary, some are open
Initial releaseSeptember 17, 1991Announced outside Bell Labs in October 1973
Repositorygit.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ 
Marketing targetCloud computing, embedded/mobile devices, mainframe/personal/super computers, servers 
Available inMultilingualEnglish
PlatformsAlpha, ARC, ARM, C6x etc. 
Kernel typeMonolithicVaries; monolithic, microkernel, hybrid
UserlandGNU 
DefaultUnix shell (CLI)CLI and Graphical
user interfaceMost distributions include a desktop environment (GUI) 
LicenseGPLv2 and others (the name "Linux" is a trademark)Varies; some versions are proprietary, others are free/open-source software
Official websitewww.kernel.orgopengroup.org/unix

From the table above, we can see the noticeable differences as below:

  • Linux is a derivative of Unix.
  • Linux is totally open source and free.
  • Linux has a common kernel which was designed by Linus Torvalds.
  • Linux has shown a significant advantage over proprietary Unix is in its availability across a vast number of hardware platforms and devices.
  • Most Linux distributions include a desktop environment (GUI).
  • Linux is essentially a kernel, typically used with GNU. This combination is the GNU/Linux operating system. While Unix is a family of multi-tasking, multi-user computer operating systems.

What is GNU

GNU (/ɡnuː/) is an extensive collection of free software, which can be used as an operating system or can be used in parts with other operating systems. The use of the completed GNU tools led to the family of operating systems popularly known as Linux. Most of GNU is licensed under the GNU Project's own General Public License (GPL).

What is POSIX

The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between various operating systems.

Unix genealogy diagram

This Unix genealogy diagram clearly shows the history of Unix, BSD, GNU and Linux. image

Summary

In short, Unix and Linux both refer to a large group of operating systems. Unix is proprietary, Linux is a free derivative of Unix. POSIX is a standard enforced by IEEE to maintain compatibility between different operating systems.