How is OS X related to unix

 
Thread Tools Search this Thread
Operating Systems Linux Fedora How is OS X related to unix
# 1  
Old 04-29-2009
Question How is OS X related to unix

Ok, I gotta ask this question, I have just begun fundamentals of UNIX in college and have learned or heard that Mac's OS-X is a linux based os! Does this mean that unix shell commands work in OS-X? I have no experience with os-x yet. I know it's a stupid question but I gotta know!
# 2  
Old 04-29-2009
MAC OS-X is an BSD variant, so that would make it Unix.

Hope that helps.
# 3  
Old 04-29-2009
OS X is not Linux-based, it is UNIX/BSD based.

Reference: Darwin

Quote:
Darwin is an open source POSIX-compliant computer operating system released by Apple Inc. in 2000. It is composed of code developed by Apple, as well as code derived from NEXTSTEP, FreeBSD, and other free software projects.

Darwin forms the core set of components upon which Mac OS X and iPhone OS are based. It is compatible with the Single UNIX Specification version 3 (SUSv3) and POSIX UNIX applications and utilities.
# 4  
Old 04-29-2009
I adminstrated a handful of OSX servers a few years ago, OSX 8 I think. Structurally, OSX feels a lot like any other BSD variant. The problem I had is that apple inserted a layer of abstraction to make the GUI work with the system utilities, and it was easy to make changes to the system from the command line that wouldn't show up in the GUI and created interesting states after reboot. Networking and server startup/reset, IIRC, were especially "creative". There's a whole bunch of commandline utilities that are supposed to automagicallly update all the differenct configuration files to keep the GUI happy, but I don't remember what they are right now.

If you need an OS to play around with for your class, I would suggest a BSD or linux.
# 5  
Old 04-29-2009
Quote:
Originally Posted by squosl
I adminstrated a handful of OSX servers a few years ago, OSX 8 I think. Structurally, OSX feels a lot like any other BSD variant. The problem I had is that apple inserted a layer of abstraction to make the GUI work with the system utilities, and it was easy to make changes to the system from the command line that wouldn't show up in the GUI and created interesting states after reboot. Networking and server startup/reset, IIRC, were especially "creative". There's a whole bunch of commandline utilities that are supposed to automagicallly update all the differenct configuration files to keep the GUI happy, but I don't remember what they are right now.

If you need an OS to play around with for your class, I would suggest a BSD or linux.
My class is using Fedora 10 from a "Live cd" it is just a beginner fundamentals/scripting course, I was just surprised to see an OS-X section here, I don't have much experience with Os-X other than I have ran it thru virtual machine to have a look. I never realized how many flavors of Linux were avaliable until I started this course and then to learn that Apples OS-x was a variant of UNIX somehow!

Now I'm curious and have asked my Professor some questions but his input was just to strictly stay with Fedora as that's what the course materials cover. I appreciate the replies and honestly have about a million more questions at this point but I probably need to do some more research!

What brought all this on was one of my lab assignments is to explain the difference between Unix and Linux and since this is not covered in the text book I turned to the web for answers and have been a little overwhelmed with the results and still have never found a straight forward answer! From what I've read, the only difference I can come up with is that Unix is an actual OS where as Linux is a Kernel not an OS! WHich at this point does not make much sense to me yet!

Thanks
Corey
# 6  
Old 04-30-2009
"one of my lab assignments is to explain the difference between Unix and Linux"

That's not a very fair question for an intro level class.

The really short answer is "Many millions of lines of code".

The not so short answer would be that Unix is an OS, copyright owned by Bell Labs while Linux is a kernel, and depends on a crapload of utilities from the GNU project to put the whole OS together. Linux tries to be POSIX compliant, I'm not sure Unix is entirely POSIX compliant either.

The longer answers would explain the differences in the kernel architectures, schedulers, process tables, device handling, etc. Feelings about how those would work in the "perfect system" are the types of feelings that start flamewars.

Good luck with your class!
# 7  
Old 04-30-2009
Quote:
Originally Posted by squosl
"one of my lab assignments is to explain the difference between Unix and Linux"

That's not a very fair question for an intro level class.

The really short answer is "Many millions of lines of code".

The not so short answer would be that Unix is an OS, copyright owned by Bell Labs while Linux is a kernel, and depends on a crapload of utilities from the GNU project to put the whole OS together. Linux tries to be POSIX compliant, I'm not sure Unix is entirely POSIX compliant either.

The longer answers would explain the differences in the kernel architectures, schedulers, process tables, device handling, etc. Feelings about how those would work in the "perfect system" are the types of feelings that start flamewars.

Good luck with your class!
LOL! I'm not finding alot of the questions fair for an intro class, espicially when they are not covered in the course material, worst off, this is a week 1 lab question. I'm still stuck on wk 1 lab and I'm already in wk 3

Thanks for the reply
Corey
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need downloading related help...but its not related to unix

Hi All, I am trying to dowmload the zip file "zkManageCustomers.zip " but i dont have access. Can anyone help me to download this file See the below link- http://www.ibm.com/developerworks/opensource/library/wa-aj-open/index.html?ca=drs- Please help me as early as... (1 Reply)
Discussion started by: aish11
1 Replies

2. Shell Programming and Scripting

Unix scripting related queries

Hi, I need to know wat does if ! >$tmp_out in the below script mean: tmp_out=$SCRATCH_DIR/file_cat.$$.tmp if ! > $tmp_out then print "Could not initialize temorary file" >&2 my_exit_code=21 break fi ---------- Post updated at 04:28 AM ----------... (4 Replies)
Discussion started by: abhishek.gupta
4 Replies

3. UNIX for Advanced & Expert Users

Unix commands Related to

Hi all, Does unix has any commands for creating BLOB and CLOB objects. Please forward me any sites or samples (2 Replies)
Discussion started by: rajeshorpu
2 Replies

4. UNIX for Dummies Questions & Answers

Basic doubts related to Unix

Hi all, I have few question related to Unix environment and commands : 1. what is .chrc file contain and if it is not present then what happens. 2. what is .login file contain,in which dir it is present and what all other uses are their for this file 3. how and who calls .profile when you... (2 Replies)
Discussion started by: ravi.sadani19
2 Replies

5. Forum Support Area for Unregistered Users & Account Problems

How to post a new thread (Regarding Unix related doubts) in Unix Forums

How to post a new thread (Regarding Unix related doubts) in Unix Forums. I registered my id but I am unable to post my Questions to Forum. Thanks & Regards, indusri (1 Reply)
Discussion started by: indusri
1 Replies

6. UNIX for Dummies Questions & Answers

Not quite related to Unix but CP/M file structure...

I'm not sure where to post this but I'm having some trouble with the directories in CP/M... I'm sorry about the length but I'm totally confused... I've seen that the directory entry in CP/M contains the following: 1 byte User Code 8 bytes Filename 3 bytes File extension 1 byte Extension 2... (3 Replies)
Discussion started by: Legend986
3 Replies

7. Programming

help me with the error of Java related to UNIX

Can you help me with my code? I wrote a Java program and ran it in gdb, the debugger said that : (gdb) run handhelditems 1 1000 Starting program: /home/wqq/crawl/handhelditems/crawl_what_i_want handhelditems 1 1000 Program received signal SIGPWR, Power fail/restart. (2 Replies)
Discussion started by: cf.george
2 Replies

8. UNIX for Dummies Questions & Answers

Memory related Unix commands

I am using rsync for my backing up my files, from one box to other box, While doing I am getting following error. arb821/Server/logs/rpcMetrics/ arb821/Server/logs/AribaOrderTransmitterLog.txt write failed on arb821/Server/logs/AribaOrderTransmitterLog.txt : Error 0 rsync error: error in... (2 Replies)
Discussion started by: redlotus72
2 Replies

9. UNIX for Dummies Questions & Answers

Question related to Emailing from UNIX

Hi All, I would like to write a script which sends an email to clients. mailx -s "TEST" $EMAIL_RECIPIENTS < FILE ...will send an email to EMAIL_RECIPIENTS with TEST as the subject and FILE as the body. Now I have a another CONTROL_FILE which is constant all the times (FILE in the above... (1 Reply)
Discussion started by: jingi1234
1 Replies

10. UNIX for Dummies Questions & Answers

Unix Related

well through my 6 months education i know some unix os but i can't find one for my p3 via board can any one tell me where to find such please replay as email or private msg and thanks (3 Replies)
Discussion started by: JaMaL
3 Replies
Login or Register to Ask a Question