Mac OS X for Unix Geeks

Chapter 1 The Mac OS X Command line

  • OS X is built on an industry-standard UNIX foundation.The Terminal application allows you to access the complete UNIX environment using standard commands, tools, and scripting languages.
  • TENEX C shell is the default shell, but OS X uses bash for handling scripts.
  • Drag the Terminal's application to the Dock for quick access
  • "Enabling the root User" in p.22. root account is disabled by default so that you need to use sudo to perform administration tasks.root account can be enabled in Netinfo Manager(/Applications/Utilities).

Chapter 2 StartUP

  • BootX loader:
    • hold down Command-V: verberse messages
    • holde down command-S: single user mode
  • System Initialization:
    • /etc/rc.boot
    • /etc/rc
    • /etc/hostconfig: system services
    • /System/Library/StartupItems
    • /etc/ttys: /System/Library/CoreServices/loginwindow.app

Chapter 3 Directory Services

Directory services manage information about users and services.
The Directory Service structure is called Open Directory for Mac OS X.
  • /etc files
  • NetInfo: controlled by Netinfo manager
You can configure Directory Services by using Directory Access application(Applications/Utilities)

Chapter 4 Compiling Source Code

  • Compiling Unix/Linux Source Code
    • .configure --host=processor-type --build=processor-type
    • where processor-type can be decided by `uname -v`
    • Frameworks
    • Standard framework directories are located: *

留言

熱門文章