Hardware

All About Linux 2008: Aren't UNIX and Linux the same thing? Yes and no.

Comment

unixlinux

The “What’s the difference between UNIX and Linux?” question can be answered similar to the analogy section that many of us had to complete on the SAT test;

UNIX is to DOS as Linux is to Windows.

That’s a grossly oversimplified answer to a complex question and I’ll no doubt get flamed by some of the more advanced UNIX and/or Linux users out there but in the interest of keeping things simple, let’s go with the above italicized sentence.

If you’re no more interested in the differences between UNIX and Linux, then the simple UNIX is to DOS as Linux is to Windows phrase should be enough to keep you from getting knifed at a LAN party. It saved my ass back in ’99 but that’s another story for another time. Let’s just say that BSD, Bawls, and 21-inch CRT monitors don’t mix.

A Little History

Which came first? UNIX came first. UNIX came way first. It was developed back in 1969 by AT&T employees working at Bell Labs. Linux came about in either 1983 or 1984 or 1991, depending upon who’s holding the knife. The GNU operating system was announced in 1983 by Richard Stallman and started in 1984, while the Linux kernel came about in 1991 courtesy of Linus Torvalds. Torvalds lent his first name to Linux by swiftly and deftly replacing the S with an X, so it could be argued that Linux, proper, was officially born in the early nineties.

Can UNIX stand on its own without Linux? Yes. Can Linux stand on its own without UNIX? Not really — although I’m sure it could be argued differently much in the same way that Windows doesn’t actually rely on DOS anymore even though DOS provided the initial foundation for Windows.

Ownership

Who “owns” each name?

The UNIX trademark is currently owned by The Open Group, which is made up of members from a bunch of different companies like HP, IBM, NEC, Hitachi, Fujitsu, and even the US Department of Defense and NASA. The group exists mostly to enforce standards. Systems that pass can be called UNIX, systems that don’t can be called UNIX-like or UNIX system-like. Linux is a UNIX-like operating system.

The Linux trademark is owned by Linus Torvalds. Companies that use the term “Linux” for commercial distributions are apparently supposed to pay him a yearly licensing fee between $200 and $5000 for use of the name but there’s some dissension as to whether or not they actually pony up. Apparently Red Hat doesn’t pay the license (as of 2005) but companies like Novell do pay. The Linux kernel itself is licensed under the GNU General Public License.

Flavors

Linux has hundreds of different distributions. UNIX has variants (Linux is actually a UNIX variant based somewhat on Minix, which is a UNIX variant) but the proper versions of the UNIX system are much smaller in number. Mac OS X Leopard is built upon UNIX code and certified under the Single UNIX Specification, which is “the collective name of a family of standards for computer operating systems to qualify for the name ‘Unix’”, according to Wikipedia.

Hardware and Cost

Linux can run on “regular” off-the-shelf computers. UNIX-based systems generally require proprietary hardware configurations and can cost thousands of dollars. As such, most people have tinkered with Linux while few have tried UNIX (although when you get into using the Linux command line, it’s very similar to UNIX).

Most Linux applications are available for free, while UNIX applications generally cost money. Linux is much more mainstream now than it used to be, so the line between what UNIX can do versus what Linux can do gets blurrier all the time. Most IT managers would have a hard time selling UNIX over Linux.

Other Differences?

I’m sure there are many of you out there who know a lot about the differences between Linux and UNIX, so please feel free to leave a comment below if I’m missing something important or I haven’t covered something accurately (see below).

[UPDATE] Here are some corrections I’ve gotten from our readers. Thanks to those of you who have left constructive and insightful comments. I’ve filtered out the parts about my inability to cohesively grasp all of the available information, but your comments — even the aggressive ones, provided they also contain some sort of helpful information — are warranted and appreciated because I’ll be the first to admit that I’m definitely not an expert when it comes to this stuff. This is a big, unwieldy concept for a lot of people and I want to make sure to get things straight, so thanks again for the help.

Comments from this post

Linux is no more a ‘variant’ of unix then toyota is a ‘variant’ of ford. Strictly speaking, linux is a clone of unix.. Just as the toyota could be called a ‘clone’ of ford (in other words ford came up with the model a, and toyota used that basic idea in the future, as in the design architechure). Linux isn’t even strictly a unix clone.. Its a kernel clone of minix, while gnu tools are clone’s of unix tools that run on top of linux.

Actually, no, that is not correct. If you read Linus’s biography, he is clear that he thought very little of Minix… The Minix kernel is based on a micro kernel design while the Linux kernel is based on a monolithic design. They are two very different animals.

First, Linux is not a variant of UNIX in any sense. Variants of UNIX all grew out of the UNIX code base. The Linux kernel was a ground up, clean implementation of the UNIX api, with plenty of rethinking and redesign along the way. The Linux userland is primarily GNU. GNU = Gnu’s Not UNIX (meaning is doesn’t use any of the UNIX codebase). While Linux is very UNIX-like, it is not UNIX.

Second, to say that Linux could not stand on its own with UNIX is false. There isn’t any UNIX to remove from Linux. If your point is that Linux resembles UNIX, well, yes it does. If your point is that Linux is a derivative of UNIX, no it isn’t.

You state: “Mac OS X Leopard is built upon UNIX code.”

Actually, Mac OS X Leopard is built upon the BSD code base (with a little GNU thrown in here and there). While it is true that BSD was originally based on the UNIX code base, the BSD developers replaced all the original UNIX code long before Apple based its OS on BSD. Therefore, it is incorrect to state that Mac OS X Leopard is based on UNIX code as it does not include any UNIX code.

You’re missing the fact that there’s a difference between Unix, and UNIX®.

UNIX® is a registered trademark owned and enforced. For something to be UNIX® it has to pass a barrage of compatibility tests. For instance, Mac OS X 10.5 is UNIX®.

The Unix community uses Unix (not all-caps) to refer to the family of operating systems descended from v7 Unix at Bell Labs. That includes the commercial Unixes descended through AT&T System V (SYSV), and the mostly non-commercial Unixes descended through BSD.

What complicates the picture is the question of what it really means for something to be based on something else. Saying it needs to have code from it doesn’t really work, as there’s very little v7 code left in OS X.

In the case of Unix, the best guideline for whether something is Unix or not is POSIX compliance. Both SYSV and BSD are moving towards the same POSIX standards for everything. Since Linux and Minix are too, and since they’re both modeled on the core Unix design elements from v7, it makes sense to say that they are Unix, even if they aren’t UNIX®–just like FreeBSD is Unix, even though it isn’t UNIX®.

Comments from Digg

IMO that analogy isn’t accurate enough. There are many flavours of UNIX, some arguable much better. These include Solaris and System V. No one uses DOS anymore i
n a corporate environment but many people still use UNIX. UNIX has a GUI FYI!

Unix is an operating System start was written in 1969. Just like most people say an operating system comprises of a Kernel and some user based tools, Unix consists of a kernel and some simple tools like sh (shell) and cc (c compiler). Then Stallman wanted Free Software so he started to replace all the UNIX tools with free alternatives starting with these userland tools. Those replacements included gcc (GNU C Compiler) and BASH (Bourne Again Shell). These tools were written for the UNIX Kernel. Then Linux, not acting as a part of the GNU team wrote Linux, a replacement for the UNIX kernel. Then people who wanted a free UNIX ran the GNU tools and the Linux Kernel to create a complete OS replacement.

History aside it’s worth noting that UNIX is still here and the GNU toolkit still runs against it. Nexenta (http://www.nexenta.org/os) is a flavour of UNIX that looks and feels just like Ubuntu. It has a copy of X, a copy of gnome, the GNU C Compiler but has a kernel based on Solaris (which is a version of Unix).

I think this pretty picture does the history much more justice: http://www.netneurotic.net/mac/unix/images/UNIX.pn …

If I was writing an article to submit to digg however (rather than just a comment) I would have provided references for my material.

Linux isn’t a unix-variant it’s unix-like. It’s just a kernel that uses GNU which stands for Gnu’s Not Unix.

More TechCrunch

The video debuted along with a research paper of the same name at IEEE’s International Conference on Robotics and Automation in Rotterdam this week.

Robot hand can detach from arm, crawl over to objects, and pick them up

There are many iPad apps to help you organize recipes; sync tasks across devices; be more productive; and manage your notes.

Best iPad apps to boost productivity and make your life easier

While online discourse would make it seem that venture has retreated to the Bay Area, with San Francisco being the most important place to build a startup, Index Ventures is…

Why Index Ventures is bulking up its investment team in NYC

In August, a Russian warlord posted a video on Telegram, showing a pair of Cybertrucks patrolling a road in Chechnya, armed seemingly with heavy machine guns. Leaving aside unanswerable (for…

A Russian warlord said he’ll take Cybertrucks into Ukraine; some experts think that’s unwise

WordPress.org has lifted its ban on hosting provider WP Engine until October 1, after putting a block on it earlier this week. The block prevented several sites from updating their…

WordPress.org temporarily lifts its ban on WP Engine

The world of WordPress, one of the most popular technologies for creating and hosting websites, is going through a very heated controversy. The core issue is the fight between WordPress…

The WordPress vs. WP Engine drama, explained

ChatGPT could get more expensive to use in coming years. The New York Times, citing internal OpenAI docs, reports that OpenAI is planning to raise the price of individual ChatGPT…

OpenAI might raise the price of ChatGPT to $44 by 2029

Binance founder Changpeng “CZ” Zhao was released from U.S. custody on Friday after serving out his four-month sentence in a low-security correctional facility. CZ’s sentence was the product of a…

Binance founder ‘CZ’ released from custody after four-month sentence

EV startup Canoo has been hit with two new lawsuits from suppliers linked to the drivetrains that power its electric vehicles, just weeks after the company kicked off a major…

Canoo hit with two supplier lawsuits as last remaining co-founder leaves

Welcome to Startups Weekly — your weekly recap of everything you can’t miss from the world of startups. Want it in your inbox every Friday? Sign up here. This week…

AI dominated both YC Demo Day and startup news

Three Iranian hackers working for the Islamic Revolutionary Guard Corps (IRGC) targeted the Trump campaign in an attempted hack-and-leak operation, according to the Department of Justice.

Iranian hackers charged with hacking Trump campaign to ‘stoke discord’

Wordy is a new iOS app that offers a unique way to learning English. The app automatically translates and defines unknown words while you watch your favorite movies or TV…

Wordy’s new app helps you learn vocabulary while watching movies and TV shows

The WSJ reports that OpenAI’s next funding round, worth around $6.5 billion, could close as soon as the first week in October.

OpenAI’s $6.5B funding round may close as soon as next week

We’re thrilled to welcome Bret Taylor to TechCrunch Disrupt 2024. As the former co-CEO of Salesforce, founder of Quip, former CTO of Facebook, the co-creator of Google Maps, and current…

Bret Taylor of Sierra joins TechCrunch Disrupt 2024

The U.K.s’ antitrust authority has concluded that Amazon’s partnership and equity investment in AI startup Anthropic can’t be investigated under current merger rules due to the size and scope of…

Amazon dodges antitrust scrutiny in UK over Anthropic investment

We’re in the final hours to save up to $600 on TechCrunch Disrupt 2024 tickets! Grab your tickets now and seize this final opportunity for major savings before the countdown…

Last hours to snag up to $600 off TechCrunch Disrupt 2024 passes

Reset your clocks: Meta has been hit with yet another privacy penalty in Europe. On Friday, Ireland’s Data Protection Commission (DPC) announced a reprimand and a €91 million fine —…

Meta fined $101.5M for 2019 breach that exposed hundreds of millions of Facebook passwords

The world’s second-largest money transfer provider, which filed a data breach notice with U.K. authorities, serves over 50 million people.

UK data watchdog confirms it’s investigating MoneyGram data breach

Note-taking apps typically aim to make you more efficient and productive. A lot of those apps concentrate on quickly jotting down your thoughts, organizing them better, or a mix of…

Napkin is a note-taking app that is not about making you more productive

Here are the startups from YC Demo Day 2 that we thought stood out from the flock.

9 startups that stood out on YC Demo Day 2

UAE-based Redwood has acquired a majority stake in the game streaming platform Loco as the Indian firm looks to expand focus to international markets, TechCrunch has learned and confirmed. Redwood,…

Indian game streaming startup Loco sells majority stake to Redwood

SpaceX’s Starlink satellite internet network is expected to hit a new customer milestone this week, company President Gwynne Shotwell told Texas legislators on Tuesday.  “This week, by the way, we…

Starlink hits 4 million subscribers

AI video generators need to believe that filmmakers will use their models in the production process. Otherwise why exist? To jump-start the new AI film ecosystem, Runway has set aside…

Runway earmarks $5M to fund up to 100 films using AI-generated video

Departures might be dominating the week’s OpenAI-related headlines. But comments on AI bias from Anna Makanju, the company’s VP of global affairs, also grabbed our attention. Makanju, speaking on a…

OpenAI’s VP of global affairs claims o1 is ‘virtually perfect’ at correcting bias, but the data doesn’t quite back that up

Lending startup Figure will be launching an AI tool powered by GPT-4 to help catch errors in lending documents. 

Former Brex COO who now heads unicorn fintech Figure says GPT is already upending the mortgage industry

Drata, a security compliance automation platform that helps companies adhere to frameworks such as SOC 2 and GDPR, has laid off 9% of its workforce, amounting to 40 people. Founded in 2020, Drata integrates…

Security compliance unicorn Drata lays off 9% of its workforce

As OpenAI boasts about its o1 model’s increased thoughtfulness, small, self-funded startup Nomi AI is building the same kind of technology. Unlike the broad generalist ChatGPT, which slows down to…

Nomi’s companion chatbots will now remember things like the colleague you don’t get along with

The company recently closed a $130 million round, according to an SEC filing, bringing the total to $327 million.

Zap Energy investors in recent $130M round included Soros Fund and Laurene Powell Jobs’ Emerson Collective

Welcome back to TechCrunch Mobility — your central hub for news and insights on the future of transportation. Sign up here for free — just click TechCrunch Mobility! I’ve been…

Uber snags another robotaxi deal, aviation startups land VC bucks, and where Rivian Foundation money is going

That lack of user interaction — or request for consent — is what confused and concerned some former Kaspersky customers.

Kaspersky defends force-replacing its security software without users’ explicit consent