Idiot's Guide to Mac OSX BSD?


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Idiot's Guide to Mac OSX BSD?
# 1  
Old 12-16-2007
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
# 2  
Old 12-16-2007
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
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.
# 3  
Old 12-17-2007
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
# 4  
Old 12-18-2007
"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.
# 5  
Old 12-19-2007
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! Smilie
# 6  
Old 12-19-2007
Quote:
Originally Posted by gus2000
there should be a "OS compatability pack"
There is, it's called POSIX.
# 7  
Old 12-19-2007
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UML on MAC OSX

Hey guyz, Is it possible to build user-mode linux kernel on MAC OSX? Please I need a reply asap as I have an assignment that I need to do. Thanks! Adel (1 Reply)
Discussion started by: aje02
1 Replies

2. OS X (Apple)

Cron on Mac OSX

Hello, I was wondering about my Cron Script: HELL=/bin/tcsh PATH=/sbin:/bin:/usr/sbin:/usr/bin HOME=/var/log MAILTO=jwillis 25 1 * * * root /Users/jwillis/Fbcmd\Scripts/DailyBirthday.scrmy returned message is: Subject: Cron <jwillis@Macintosh-66> root ... (1 Reply)
Discussion started by: jwillis0720
1 Replies

3. UNIX for Dummies Questions & Answers

ssh pub key auth - can some please guide me idiot proof

hello. can somebody please idiot proff simple guide me how to set up ssh public key authenciation? i am stuck, i tried long and googled a lot but i cant get it. thanks in advance. (4 Replies)
Discussion started by: scarfake
4 Replies

4. OS X (Apple)

Mac OSX kernel

is there anyway of looking at, and if possible, modifying it? (2 Replies)
Discussion started by: cleansing_flame
2 Replies

5. Windows & DOS: Issues & Discussions

win-xp/mac-osx

I'm currently looking for an emulation program that would allow me to open and run osx app.s and programs on a windows xp based system. if not is there a unix/linux/lindows program that may do the same? (3 Replies)
Discussion started by: area51nstk
3 Replies

6. UNIX Desktop Questions & Answers

Mac Osx.2

I finally broke down and decided to buy a new piece of hardware. I think I made the right decision when I chose an Apple iBook - OSX is incredible! I haven't used a Mac since System7.5, and 10.2 is just blowing me away! Best of all, it's easy to use for people who are not used to Mac, but if I... (5 Replies)
Discussion started by: LivinFree
5 Replies

7. Cybersecurity

ssh and Mac OSX

Please help if you are familiar with Mac OSX. I downloaded OpenSSH for a newer version of SSH than what comes with OS 10.1. What a mistake! Now every time I try to make a connection to my remote server I get an message that ssh was built against version such and such and I have version such and... (2 Replies)
Discussion started by: glfisfn
2 Replies

8. UNIX for Dummies Questions & Answers

XWindows on Mac OSX

Hello, I'm like most people who post here, I'm new in UNIX. Yesterday I installed Xwindows on my OSX box just to learn as much about UNIX as I can. I been messing around with my terminal and conf files that have to do with Apache and sendmail and didn't mess anything up so I thought I was ready to... (2 Replies)
Discussion started by: Alpha_Harblo
2 Replies

9. UNIX for Dummies Questions & Answers

Mac OSX question

Hi. Is it possible to execute a Cocoa (or Carbon or eaven a classic) program for mac OSX in the terminal window? OSX finder can sometimes be so busy that it wont respond for several minutes, ie if you are uploading a very big file/files to a afp server. Then it would have been nice to start... (7 Replies)
Discussion started by: nicke30
7 Replies

10. UNIX for Dummies Questions & Answers

Mac OSX vs. UNIX

To anyone that has the answer: What does UNIX have that Mac OSX doesn't. I am a programmer, and I am wondering if I could just get Mac OSX for my programming needs instead of UNIX. But my major question is what does UNIX have that Mac OSX doesn't. Thank you if you have the answer, and are willing... (2 Replies)
Discussion started by: REM
2 Replies
Login or Register to Ask a Question