TweetFollow Us on Twitter

Book Review: Mac OS X Tiger for Unix Geeks

Volume Number: 22 (2006)
Issue Number: 3
Column Tag: Review

Book Review: Mac OS X Tiger for Unix Geeks

by Mary Norbury-Glaser

Mac OS X Tiger for Unix Geeks, published by O'Reilly, is a book for Unix sysadmins and developers who are interested in discovering Mac OS X's underlying Unix roots. The authors, Brian Jepson and Ernest E. Rothman, assume the reader has a solid familiarity with Unix fundamentals.


The book is divided into four instructional parts (Getting Around, Building Applications, Working With Packages, and Serving and System Management) and a final section devoted to two appendicxes (Mac OS X GUI Primer and Mac OS X's Unix Development Tools).

Part I is an introduction to Unix on Mac OS X in ten chapters and is so extensive that it constitutes half the book. Chapter 1 introduces differences between the Terminal app and xterm and xterm-like applications specific to systems running X Windows, how to customize the terminal, and working with files and directories. Chapter 2 covers Spotlight and searching metadata from the command line using mdfind. The next chapter deals with file transfer issues that arise from moving data between different file systems. This is a particularly helpful section on understanding the consequences of transferring large numbers of files between foreign operating systems. The authors also list directories in tabular format: /, /etc, /System/Library, /Library, /var, and /dev.

There are some distinct startup differences between traditional Unix systems and Mac OS X Tiger, detailed in and the boot process is detailed in Chapter 4. In fact, there are changes between Tiger and pre-Tiger systems and this chapter presents an outline of the differences and consequences very nicely. A logical consequence of this discussion is how to add startup items and schedule tasks and the authors illustrate this with a very useful MySQL startup script.

Chapter 5, Directory Services, gives a brief overview of understanding and configuring Open Directory, and Mac OS X's version of Directory Services. There is a very helpful section on working with passwords and the authors demonstrate four NetInfo/Directory Services utilities: dscl, nireport, nidump, and niload.

Printing through both the GUI and through the included Unix tools (CUPS and Gimp-Print) is the topic of Chapter 6. This chapter is well stocked with screenshots and is a quick read.

Chapter 7 goes over Apple's X11 implementation of the X Window System: installing, running full-screen or rootless, customizing preferences, connecting to other X Window systems using ssh with X11 forwarding, using osx2x to share a keyboard and mouse between systems, and how to use vnc.

The topic in of Chapter 8 is multimedia and discusses burning CDs, using the open source MPlayer for audio/video playback, the Gimp for image editing, and Blender for 3D modeling.

In the next chapter, the authors include third-party tools and applications: virtual desktop implementations, ssh GUI frontends, and open source typesetting, mathematical and statistical apps (TeX and R), and office suites (OpenOffice and NeoOffice/J). The information on TeX and R is particularly well documented, due no doubt due to Dr. Rothman's scholarly pursuits. Part I ends with a chapter on dual booting various flavors of Linux (Yellow Dog, Gentoo, Ubuntu, etc.) with Mac OS X, using emulators (VirtualPC) as well as running Mac OS X on x386 machines using PearPC.

Part II, Building Applications, is for those developers and Unix/Linux power users who are comfortable with compiling and linking source code. There are plenty of subtle differences between the Unix and Mac OS X compilers, and the authors provide ample instruction on how to work with Apple's version of the GCC (GNU Compiler Collection). The authors provide a complete discussion of compiling source on Mac OS X and include frameworks, architectural issues (AltiVec, 64-bit computing and endianness), building X11-based apps, AquaTerm, and Xgrid. They go into further depth by showing how to link header files (ordinary and precompiled) and libraries in Mac OS X. There are very good examples of building a shared library that contain C functions and dynamically loading libraries.

Part III covers software packages options: Fink, DarwinPorts and creating and installing your own packages. There are step-by-step details on how to install, setup and use both Fink (and FinkCommander) and DarwinPorts, and using Apple's PackageMaker tools.

Using Mac OS X as a server (secure mail, ssh, Apache web, using built-in services through the sharing pref pane, and using the Mac OS X firewall), system management and configuration tools (top, sc_usage, vm_stat, sysctl, nvram, scutil, and third-party apps like Cocktail, MacJanitor and TinkerTool), free databases (SQLite, MySQL, and PostgreSQL), and some Perl and Python extras that are included in Mac OS X are discussed in Part IV.

In Part V, the Appendicxes, cover a basic overview of the Mac OS X GUI and includes a reference to a selection of Mac OS X's Unix development tools. The latter describes the similarities and differences between development tools available on standard Unix systems and Mac OS X Tiger. Also iIncluded are brief descriptions of Xcode tools (CpMac, MvMac, Res), Java (jar, jdb), text editing and processing (awk, join, sed, vim), scripting and shell programming (echo, perl, xargs), file manipulation and sorting (cat, chmod, diff, rmdir), and other miscellaneous tools (apropos, passwd, su and sudo).

Jepson and Rothman have compiled an excellent book for Unix users who want to come up to speed on Mac OS X quickly and efficiently. Mac OS X Tiger for Unix Geeks includes all the basic information that experienced Unix users will need to become comfortable with the Mac platform. The authors cover a wide variety of practical scenarios where Unix sysadmins and developers can put their newfound knowledge to use. If you're comfortable with Unix and want a companion volume to help you unlock Mac OS X's Unix roots, Mac OS X Tiger for Unix Geeks is the book for you.

    Brian Jepson & Ernest E. Rothman

    415 pages

    O'Reilly

    ISBN: 0596009127

    US $34.95


Mary Norbury is the IT Director at the Barbara Davis Center for Childhood Diabetes, an affiliate center at the University of Colorado Health Sciences Center in Denver, Colorado. She has too-many-years-to-count experience in cross-platform systems implementation and administration in the education sector. You can reach her at norburym@mac.com.

 
AAPL
$445.15
Apple Inc.
+3.01
MSFT
$34.27
Microsoft Corpora
+0.12
GOOG
$873.32
Google Inc.
-9.47

MacTech Search:
Community Search:

Software Updates via MacUpdate

Evernote 5.1.1 - Create searchable notes...
Evernote allows you to easily capture information in any environment using whatever device or platform you find most convenient, and makes this information accessible and searchable at anytime, from... Read more
SketchUp 13.0.3688 - Create 3D design co...
SketchUp is an easy-to-learn 3D modeling program that enables you to explore the world in 3D. With just a few simple tools, you can create 3D models of houses, sheds, decks, home additions,... Read more
Flavours 1.0.8 - Create and apply themes...
Flavours allows users to create, apply, and share beautifully designed themes. Classy - Give your Mac a gorgeous new look by applying delicious themes! Easy - Unleash your creativity and make your... Read more
GarageSale 6.6b10 - Create outstanding e...
GarageSale is a slick, full-featured client application for the eBay online auction system. Create and manage your auctions with ease With GarageSale, you can create, edit, track, and manage... Read more
Twitter 2.2.1 - Official Twitter client...
Twitter (was Tweetie) is a Twitter client with a variety of features. Important Note: As of January 2011, AteBit's Tweetie application has been acquired and renamed by Twitter. Version 1.2.8 of the... Read more
SteerMouse 4.1.6 - Powerful third-party...
SteerMouse is an advanced driver for USB and Bluetooth mice. It also supports Apple Mighty Mouse very well. SteerMouse can assign various functions to buttons that Apple's software does not allow,... Read more
Google Chrome 27.0.1453.93 - Modern and...
Google Chrome is a Web browser by Google, created to be a modern platform for Web pages and applications. It utilizes very fast loading of Web pages and has a V8 engine, which is a custom built... Read more
Labels & Addresses 1.6.5 - Powerful...
Labels & Addresses is a home and office tool for printing all sorts of labels, envelopes, inventory labels, and price tags. Merge-printing capability makes the program a great tool for holiday... Read more
Delicious Library 3.0.2 - Import, browse...
Delicious Library allows you to import, browse, and share all your books, movies, music, and video games with Delicious Library. Run your very own library from your home or office using our... Read more
KeyCue 6.5 - Displays all menu shortcut...
KeyCue helps you to use your OS X applications more effectively. Just hold down the Command key for a while - KeyCue comes to help and shows a table of all currently available keyboard shortcuts.... Read more

This Week at 148Apps: May 20-24, 2013
We Are Your App Review Source   | Read more »
Rhapsody Plays A New Visual Tune In The...
Rhapsody Plays A New Visual Tune In The Latest Update Posted by Andrew Stevens on May 24th, 2013 [ permalink ] iPad Only App - Designed for the iPad | Read more »
Bondsy Lets Friends Trade Their Stuff Pr...
Bondsy Lets Friends Trade Their Stuff Privately Posted by Andrew Stevens on May 24th, 2013 [ permalink ] iPhone App - Designed for the iPhone, compatible with the iPad | Read more »
Wander Wheel Hands You An Itinerary, Tel...
Wander Wheel Hands You An Itinerary, Tells You To Be Spontaneous Posted by Andrew Stevens on May 24th, 2013 [ permalink ] | Read more »
Flick Transfers Files To Other Devices W...
Flick Transfers Files To Other Devices With A Simple Flick Of Your Finger Posted by Andrew Stevens on May 24th, 2013 [ permalink ] | Read more »
Guitar! by Smule Strums Onto The App Sto...
Guitar! by Smule Strums Onto The App Store Posted by Andrew Stevens on May 24th, 2013 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
Redline Rush – Avoid The Toll Booth On T...
Redline Rush – Avoid The Toll Booth On This Now Free Endless Racer Posted by Andrew Stevens on May 24th, 2013 [ permalink ] | Read more »
Kite Surfer Review
Kite Surfer Review By Rob Rich on May 24th, 2013 Our Rating: :: MAKE SOME WAVESUniversal App - Designed for iPhone and iPad Kite Surfer looks good and controls great, although it’s also a little light on content.   | Read more »
Spottlife Review
Spottlife Review By Lee Hamlet on May 24th, 2013 Our Rating: :: CATEGORIZE YOUR SOCIAL LIFEiPhone App - Designed for the iPhone, compatible with the iPad Spottlife is a new way to view and interact with the world’s most popular... | Read more »
Plasma Pig Review
Plasma Pig Review By Jordan Minor on May 24th, 2013 Our Rating: :: THAT'LL DO, PIGUniversal App - Designed for iPhone and iPad This porky pig needs a light touch.   | Read more »

Price Scanner via MacPrices.net

Memorial Day Weekend MacBook Pro sales, up to $200...
 Save up to $200 on a 15-inch MacBook Pro this Holiday weekend at these resellers: (1) B&H Photo has 15″ MacBook Pros on sale for up to $200 off MSRP including free shipping. B&H will also... Read more
Apple drops prices on refurbished iPads and iPad m...
 Apple today dropped prices on Apple Certified Refurbished iPad 4s and iPad minis with some models now available for up to $140 off the cost of new models. Apple’s one-year warranty is included with... Read more
Should You Upgrade To OS X 10.8 Mountain Lion This...
If you haven’t upgraded to OS X 10.8 Mountain Lion by now, there’s probably a case to be made for just holding out with whatever earlier version you’re using until we see what Apple brings forth with... Read more
Apple Tops Gartner Supply Chain Top 25 Rankings Fo...
Gartner, Inc. has released the findings from its ninth annual Supply Chain Top 25. The goal of the Supply Chain Top 25 research initiative is to raise awareness of the supply chain discipline and how... Read more
7-inch Tablets: What User Experience Benchmarks Sh...
A new Tablet User Experience Research survey by Pfeiffer Consulting indicates that user experience with tablets and smartphones is one of the most important aspects of the overall perceived value of... Read more
PayPal Global Study Spells Doom for the Wallet – C...
PayPal has revealed the findings of a global study that paints a dim future for the wallet. A vast majority (83%) of respondents across five countries indicated they wished they didnt have to carry a... Read more
How to Set Up Your Mac to Allow AirPrinting From i...
mac.tutsplus.com’s Jordan Merrick says: AirPrint is a great feature of iOS that provides a simple way of printing documents from your iPhone or iPad directly to an AirPrint-compatible printer with no... Read more
Price drop on refurbished 15″ 2.3GHz MacBook Pro,...
 The Apple Store has lowered their price on Apple Certified Refurbished 15″ 2.3GHz MacBook Pros to $1449 or $350 off the cost of new models, including free shipping. Apple’s one-year warranty is... Read more
Memorial Day Weekend iMac sale: $150 off MSRP
 Best Buy has iMacs on sale for $150 off MSRP on their online store for Memorial Day Weekend. Choose free home shipping or free instant local store pickup (if available): - 27″ 3.2GHz iMac: $1849.99... Read more
Economic Conservatives Defend Apple’s Tax Strategy
Given Apple’s longtime reputation as the particular darling of the liberal lefty end of the spectrum, it’s been facinating to see mostly prominant conservatives rallying to the defense of Apple’s... Read more

Jobs Board

System Engineer - *Apple* /Mobility - P...
System Engineer - Apple /Mobility Tracking Code 305801-533 Job Description Job Summary: As a Apple /Mobility Systems Engineer you will be involved in all aspects of Read more
*Apple* Account Executive - CompuCom (U...
Apple Account Executive Job Location US-IL-Des Plaines Posted Date 3/27/2013 Req # 2013-4905 Apply/Socialize: * Apply Now! * Email this opportunity to a friend or Read more
*Apple* Account Executive - CompuCom (U...
Apple Account Executive Job Location US-MAUS-DC Posted Date 3/27/2013 Req # 2013-4907 Apply/Socialize: * Apply Now! * Email this opportunity to a friend or Read more
*Apple* - Solution Architect - CompuCom...
Apple - Solution Architect Job Location US-TX-Dallas Posted Date 4/18/2013 Req # 2013-4932 Apply/Socialize: * Apply Now! * Email this opportunity to a friend or Read more
*Apple* - Solution Architect - CompuCom...
Job Location: US-TX-Dallas Posted Date: 4/18/2013 Overview: The Apple Solution Architect (SA) will be responsible for supporting pre-sales and post-sales solutions in Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.