ArticleslgStudy

science

Unix-like

Unix-like is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Unix-like rather than just read about it. In short: A Unix-like operating system (sometimes referred to as a UN*X, *nix or *NIX) is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-like application is one that behaves like the corresponding Unix command or shell.

Unix-like — main illustration
Unix-like — illustration

Key takeaways

  • Unix-like belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Unix-like to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Unix-like from memory before moving on to harder problems.

Reference excerpt

A Unix-like operating system (sometimes referred to as a UN*X, *nix or *NIX) is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-like application is one that behaves like the corresponding Unix command or shell. Although there are general philosophies for Unix design, there is no technical standard defining the term, and opinions can differ about the degree to which a particular operating system or application is Unix-like. Some well-known examples of Unix-like operating systems include Linux, FreeBSD and OpenBSD. These systems are often used on servers as well as on personal computers and other devices. Many popular applications, such as the Apache web server and the Bash shell, are also designed to be used on Unix-like systems.

Definition The Open Group owns the UNIX trademark and administers the Single UNIX Specification, with the "UNIX" name being used as a certification mark. They do not approve of the construction "Unix-like" and consider it a misuse of their trademark. Their guidelines require "UNIX" to be presented in uppercase or otherwise distinguished from the surrounding text, strongly encourage using it as a branding adjective for a generic word such as "system", and discourage its use in hyphenated phrases. Other parties frequently treat "Unix" as a genericized trademark. Some add a wildcard character to the name to make an abbreviation like "Un*x" or "*nix", since Unix-like systems often have Unix-like names such as AIX, A/UX, HP-UX, IRIX, Linux, Minix, Ultrix, Xenix, and XNU. These patterns do not literally match many system names, but are still generally recognized to refer to any UNIX system, descendant, or work-alike, even those with completely dissimilar names such as Darwin/macOS, illumos/Solaris or FreeBSD. In 2007, Wayne R. Gray sued to dispute the status of UNIX as a trademark, claiming Novell did not lawfully own the trademark when they transferred it to X/Open (pointing to The SCO Group's statements which had, by then, already been deemed invalid by a court). He lost his case, and lost again on appeal, with the court upholding the trademark and its ownership.

History

"Unix-like" systems started to appear in the late 1970s and early 1980s. Many proprietary versions, such as Idris (1978), UNOS (1982), Coherent (1983), and UniFlex (1985), aimed to provide businesses with the functionality available to academic users of UNIX. When AT&T allowed relatively inexpensive commercial binary sublicensing of UNIX in 1979, a variety of proprietary systems were developed based on it, including AIX, HP-UX, IRIX, SunOS, Tru64, Ultrix, and Xenix. These largely displaced the proprietary clones. Growing incompatibility among these systems led to the creation of interoperability standards, including POSIX and the Single UNIX Specification. Various free, low-cost, and unrestricted substitutes for UNIX emerged in the 1980s and 1990s, including 4.4BSD, Linux, and Minix. Some of these have in turn been the basis for commercial "Unix-like" systems, such as BSD/OS and macOS. Several versions of (Mac) OS X/macOS running on Intel-based and Apple silicon-based Mac computers have been certified under the Single UNIX Specification. The BSD variants are descendants of UNIX developed by the University of California at Berkeley, with UNIX source code from Bell Labs. However, the BSD code base has evolved since then, replacing all the AT&T code. Since the BSD variants are not certified as compliant with the Single UNIX Specification, they are referred to as "UNIX-like" rather than "UNIX".

Categories Eric S. Raymond and Rob Landley have suggested that there are three kinds of Unix-like systems: "genetic UNIX", derived from the original Bell Labs UNIX, "trademark UNIX" (or "branded UNIX"), for which the Open Group have licensed the UNIX trademark, and a third category of operating systems that are not in either of those categories but that are patterned after the original Bell Labs UNIX.

Genetic UNIX Those systems with a historical connection to the AT&T codebase. Most commercial UNIX systems fall into this category. So do the BSD systems, which are descendants of work done at the University of California, Berkeley in the late 1970s and early 1980s. Some of these systems have no original AT&T code but can still trace their ancestry to AT&T designs.

Trademark UNIX Trademark, or branded, UNIX systems‍—‌largely commercial in nature‍—‌have been determined by the Open Group to meet the Single UNIX Specification and are allowed to carry the UNIX name. Most such systems are commercial derivatives of the System V code base in one form or another, although Apple macOS 10.5 and later is a BSD variant that has been certified, and EulerOS and Inspur K-UX are Linux distributions that have been certified. A few other systems (such as IBM z/OS) earned the trademark through a POSIX compatibility layer and are not otherwise inherently Unix systems. Many ancient UNIX systems no longer meet this definition.

Other UNIXes Broadly, any Unix-like system that behaves in a manner roughly consistent with the UNIX specification; more specifically, this can refer to systems, such as Linux or Minix, that behave similarly to a UNIX system but have no genetic or trademark connection to the AT&T code base. Most free/open-source implementations of the UNIX design, whether genetic UNIX or not, fall into the restricted definition of this third category due to the expense of obtaining Open Group certification, which costs thousands of dollars. Dennis Ritchie, one of the original creators of Unix, mentioned Linux as one of the healthiest of the direct Unix derivatives due to its strong adherence to Unix principles. Around 2001 Linux was given the opportunity to get a certification including free help from the POSIX chair Andrew Josey for the symbolic price of one dollar. There have been some activities to make Linux POSIX-compliant, with Josey having prepared a list of differences between the POSIX standard and the Linux Standard Base specification, but in August 2005 this project was shut down because of lack of interest at the LSB work group. As per § Trademark UNIX, some Linux distributions have been certified.

Compatibility layers Some non-Unix-like operating systems provide a Unix-like compatibility layer, with varying degrees of Unix-like functionality.

… excerpt ends here. Continue reading the full article.

Illustrations

Unix-like: Evolution of Unix and Unix-like systems, starting in 1969
Evolution of Unix and Unix-like systems, starting in 1969
Unix-like: Simplified history of Unix-like operating systems
Simplified history of Unix-like operating systems

Worked examples

Example 1 — a first encounter with Unix-like

Start with the simplest possible case. Write down what Unix-like claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Unix-like before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Unix-like ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Unix-like

In research
Unix-like appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Unix-like in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Unix-like is common in secondary-school and first-year university syllabi. It links to neighbouring topics Operating system families, Unix, Unix shells, so understanding it makes those chapters shorter.
In everyday life
Look for Unix-like outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Unix-like” →

How to study Unix-like in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Unix-like means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Unix-like out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Unix-like in simple terms?

A Unix-like operating system (sometimes referred to as a UN*X, *nix or *NIX) is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-like application is one that behaves like the corr…

Why does Unix-like matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Unix-like?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Unix-like.

Tags

  • Operating system families
  • Unix
  • Unix shells
  • Unix variants

Keep exploring