View Full Version : Differences between OS X and Linux
Jeewhizz
Apr 5, 2004, 07:50 AM
I'm fairly into linux - i run 4 servers and spend my life at the command prompt...
But what difference is there between linux and OS X... I hear that you can't su - directly to root (which sucks :( ) and in the other thread, eth0 is now en0
but what else is different - thanks for the pointers in advance - will save some head banging ;)
Jee
Rincewind42
Apr 5, 2004, 08:24 AM
But what difference is there between linux and OS X... I hear that you can't su - directly to root (which sucks :( )
Actually you can su to root, but you have to enable root login first. But this is completely unnecessary, as you can use the sudo tool to do anything you want as root (even create a root shell with sudo -s, just like su).
There are probably a large number of tiny differences, but as someone who hasn't used Linux (which I suspect of most people on this site too) it may be easier if you point out things important to you and then people can respond to how they might be different (or not) on OS X.
MisterMe
Apr 5, 2004, 08:31 AM
I'm fairly into linux - i run 4 servers and spend my life at the command prompt...
But what difference is there between linux and OS X... I hear that you can't su - directly to root (which sucks :( ) and in the other thread, eth0 is now en0
but what else is different - thanks for the pointers in advance - will save some head banging ;)
JeeRTFMP (Read the ********* man pages)
tomf87
Apr 5, 2004, 08:42 AM
RTFMP (Read the ********* man pages)
:eek: Someone said a worty dird. :) Besides, the man pages would be so similar that it may not even help.
Anyway, since OS X is based on BSD, differences between OpenBSD and Linux would apply.
I wish they could nail down interface names. How many more do we need?
abhishekit
Apr 5, 2004, 08:46 AM
I'm fairly into linux - i run 4 servers and spend my life at the command prompt...
But what difference is there between linux and OS X... I hear that you can't su - directly to root (which sucks :( ) and in the other thread, eth0 is now en0
but what else is different - thanks for the pointers in advance - will save some head banging ;)
Jee
Dont know much about linux, but 'su' is replaced by 'sudo' and yah..eth0,eth1 by en0, en1...
and the rest, for my purposes, is pretty much the same..
mrdeep
Apr 5, 2004, 09:15 AM
/usr/libexec/locate.updatedb
http://fink.sourceforge.net/
Westside guy
Apr 5, 2004, 10:29 AM
A slight correction - "su" and "sudo" are both present in Linux; they are actually slightly different commands. "sudo" in OS X is the same program as "sudo" in Linux or BSD or ...
For the most part the only differences I've seen at the user level between Linux and OS X are the same ones that exist between Linux and BSD. The admin stuff is significantly different, though - it all appears to have come from NeXT's legacy. Usually you make admin-level changes in the netinfo database, for example, and they get pushed to places like /etc/group and such. I have noticed the locations of many files are becoming more standardized with standard *nix - for example, in Panther the Kerberos config file is /etc/krb5.conf (whereas in previous versions it was in some odd place under /Library, I think, that I had to look up every bloody time...).
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.