The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > OS X (Apple)
Google UNIX.COM


OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NIC driver guide Puntino IP Networking 0 05-14-2008 06:54 AM
pls guide this.. ss4u UNIX for Dummies Questions & Answers 1 01-04-2007 12:36 AM
Guide to Samba brabored SUN Solaris 2 02-24-2005 04:17 PM
New to SCO -Guide me rahulrathod SCO 1 09-13-2004 08:34 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-16-2007
Registered User
 

Join Date: Jan 2006
Location: SW England
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Idiot's Guide to Mac OSX BSD?

Hi, I am used to Solaris and find my Macs confusing when using the command line. This particularly applies to top, networking and users configuration. Top just seems to be hopeless in comparison to the Solaris version and the network and user configuration just doesn't seem to work.

Is there a book that explains how it all works, from the Unix point of view rather than GUIs and is there a way of installing the normal top?

I am also a bit confused with the disk formats, some are case-sensitive and some aren't - what's with that? Is it true that Leopard now uses ZFS and can I convert all my Macs running Leopard to be case-sensitive ZFS now?

I am mainly running Leopard.

Regards,

Nick
SW England
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-16-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
FreeBSD documentation would help you as well.

Similarly, you do have "man" on OSX which will explain all.

Different operating systems use different switches, that's just the way life is, between Solaris, AIX, HPUX, IRIX, Linux, NetBSD/FreeBSD/OpenBSD, Tru64, MacOSX there is a general agreement on the common switches and variation on others.

It's part of the rich tapestry of life.

Quote:
Originally Posted by pettefar View Post
Is it true that Leopard now uses ZFS and can I convert all my Macs running Leopard to be case-sensitive ZFS now?
I thought ZFS was read-only at the moment.
Reply With Quote
  #3 (permalink)  
Old 12-17-2007
Registered User
 

Join Date: Sep 2006
Posts: 11
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
On Leopard you may use dtrace to add the functionality you're looking for:

DTrace Scripts | Collecting scripts and settings for DTrace-enabled developers

Top Ten DTrace (D) Scripts

(A nifty gui tool would be MenuMeters btw.)

To add a user on Leopard see a recent post & comments at OS X Daily !

A good general starting point to get Mac-related Unix information is OS X Links .

Cheers,

verno
Reply With Quote
  #4 (permalink)  
Old 12-18-2007
Registered User
 

Join Date: Oct 2007
Posts: 153
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
"rich tapestry of life" lol@Porter

One of the nice things about FOSS is that your favorite utilities can usually be compiled cross-platform. There's no need to port "ls" but if you've got a program that is opensource, you can compile it for OSX.

But I understand your frustrastion; there should be a "OS compatability pack" that I can install cross platform, so that when I run commands from the OS that I accustomed to, it will tell me "hey, that command doesn't work on this distro, try THIS command instead". Rather like high-tech training wheels.
Reply With Quote
  #5 (permalink)  
Old 12-19-2007
Registered User
 

Join Date: Sep 2002
Location: San Fran
Posts: 105
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
The macenterprise.com mailing list is pretty busy, and can provide a lot of information. You can search their archives without signing up.
Another good resource for OS X specific information is macosxhints.com. They categorize the hints, so a quick search of the "System" category can help for those "how do i..." times.

Apple likes to make significant changes to the system tools. The biggest one I can think of off the top of my head is the NetInfo database. It was a part of all OS X versions through Tiger (10.4.x). The "ni" commands were pretty well known to Mac admins.
Apple completely removed NetInfo from Leopard (10.5).

To their credit, they included Directory Services (the replacement for NetInfo) "ds" commands in Tiger as well, so admins could get used to living without ni commands well before Leopard, and move forward at a leisurely pace converting scripts that required it.

Good Luck, and Good Fun!
Reply With Quote
  #6 (permalink)  
Old 12-19-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by gus2000 View Post
there should be a "OS compatability pack"
There is, it's called POSIX.
Reply With Quote
  #7 (permalink)  
Old 12-19-2007
Registered User
 

Join Date: Jan 2006
Location: SW England
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Top!

Actually, for day to day stuff, I just wish that top would work (properly)!

Thanks for all the info though, muchly appreciated.

Nick - Solaris bloke.
Reply With Quote
  #8 (permalink)  
Old 12-19-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,452
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Since I don't use MacOS I am curious, what about top does not work correctly, compared with say FreeBSD.
Reply With Quote
  #9 (permalink)  
Old 12-20-2007
Registered User
 

Join Date: Sep 2006
Posts: 11
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Books "that explain how it all works, from the Unix point of view rather than GUIs":

Advanced Mac OS X Programming

Mac OS X Internals: The Book

For up-to-date advanced Unix issues regarding Leopard you should also bookmark websites such as Unixjunkie Blog

For some useful network commands see:

Text* Snippets: Example ipfw ruleset [osx] [mac] [ipfw] [firewall] [ruleset]

To add users in Leopard see:

How to: Add a user from the OS X command line, works with Leopard! - OS X Daily


Cheers,

verno
Reply With Quote
  #10 (permalink)  
Old 12-20-2007
Registered User
 

Join Date: Sep 2002
Location: San Fran
Posts: 105
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Sweet! Thanks verno. I hadn't seen those.
Reply With Quote
  #11 (permalink)  
Old 12-20-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
... and the other "idiots guide to Mac OS X" -> "man".
Reply With Quote
  #12 (permalink)  
Old 12-21-2007
Registered User
 

Join Date: Sep 2006
Posts: 11
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
... or pman -- create, print, save, view PDF man pages
Reply With Quote
Google UNIX.COM
Reply

Tags
linux

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ascii eof autosys awk trim bash eval bash exec bash for loop boot: cannot open kernel/sparcv9/unix close_wait command copy/move folder in unix curses.h cut command in unix dead.letter find grep find null character in a unix file grep multiple lines grep or grep recursive grep unique inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix .profile unix com unix forum unix forums unix interview questions unix mtime unix simulator unix.com vi tab size vi+substitute+end+of+line+character while loop within while loop shell script


All times are GMT -7. The time now is 01:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101