Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Is Mac OS X Unix-Based Operating System..?

Hey guys!
I've been using windows and Linux for a while now and recently switched to Mac OS and i've heard that Mac OS X is unix based operating system but i'm not sure if it's true.. also i don't know about earlier Mac OS versions like System 7 System 6 etc.. what are they based on if any..? Hope someone will be able to explain me..

Thanks

iBook G4, Mac OS X (10.5.5)

Posted on Oct 22, 2008 7:12 AM

Reply
27 replies

Oct 22, 2008 11:57 AM in response to QueeenZ

Unix does not use file extensions. To say that there are none is a stretch. Certain programs have always used extensions to distinguish various files -- like the C-compilers using .c and .h. But to the system, the extension is just part of the file name with no special significance. Mac OS X applications and services can optionally use extensions to identify file types. There is nothing mysterious about that. To Unix, still, it is just part of the file name.

Oct 22, 2008 8:01 AM in response to QueeenZ

QueeenZ wrote:
well i figured this out when i tried to go to /usr directory which is knows unix systems dir.. but it's hidden in Mac OS as i see.. 🙂


No, it's not really hidden, it's only hidden in the GUI.
Open a terminal and you will see a complete Unix OS, with Apache servers, PHP, Perl, Python, C, Cpp, AWK, multiple shells, and whatever.
If you are at home in a Unix environment, you will be at home in a terminal.

Oct 22, 2008 12:06 PM in response to Jeffrey Jones2

Some of Mac OS X's assignment of extensions is more for making things obvious what they are. .app applications are really package applications that contain bundled files in a single file. Extensions themselves can be added to files or not, depending on whom you are communicating with. There is a Unix board for discussing Unix attributes of Mac OS X:

http://discussions.apple.com/forum.jspa?forumID=735

And http://www.sourceforge.net/ discusses many open source solutions for Mac OS X that are portable applicatiosn across Unix operating systems.

Oct 22, 2008 2:16 PM in response to Jeffrey Jones2

Jeffrey Jones2 wrote:
Unix does not use file extensions. To say that there are none is a stretch.


I would say that Unix does not need file extensions but it has them in many cases.
In the PC world (and maybe elsewhere), extensions are the scorecards that let you tell the players apart 🙂

In Unix the extensions are a convenient way for humans to know what the file is or does, so when opening a file, one has an idea what tool to use. When 'lessing' a binary file for instance, a warning pops up about the file being binary.
And conversely, in Unix, any file can be run, even a nonsense text file, with sometimes curious results, but the extensions are handy, especially for humans.
Since everything is a file in Unix, so to speak, a directory can have a .txt extension if one so desires.

We are also drifting miles away from the OP's subject, which has been answered several times:
Yes, Leopard is a *nix-based OS.

Message was edited by: nerowolfe

Oct 22, 2008 3:11 PM in response to a brody

Mac OS X is based on the Mach micro kernel and BSD 4.4 (and FreeBSD 5 and onwards for the newest versions, although code from NetBSD has made its way into the BSD subsystem too) and is to be considered a version of Unix. It doesn't sport a typical monolithic kernel like Unix usually does, but as mentioned earlier its kernel is rather a hybrid between two architectures.

Because of the BSD underpinnings, and often relatively simple recompiling efforts, Mac OS X is capable of running a significant number of traditional Unix and open source applications as well as Mac OS X applications. Simultaneously.

Mac OS 9, on the other hand, has no Unix heritage and is not to be mistaken for the real time Unix like operating system, that is OS-9. The makers of OS-9, Microware Systems Corporation, even sued Apple over the name 'OS 9', seemingly thinking that people would mistakenly associate the two products with another.

Mac OS 9 was a cooperatively multitasking, multithreaded single user system, whereas Mac OS X is a multithreaded, multitasking multi user system.

As mentioned by others, Mac OS X 10.5 is certified Unix.

Is Mac OS X Unix-Based Operating System..?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.