This chapter presents the Mac OS X user , programmer, and system administration commands available through the Terminal (see Chapter 3). Each entry is labeled with the command name on the outer edge of the page. The syntax line is followed by a brief description and a list of available options. Many commands come with examples at the end of the entry. If you need only a quick reminder or suggestion about a command, you can skip directly to the examples.
We've tried to be as thorough as possible in listing the options. Basic command information and most options should be correct; however, new options are added, and sometimes older options may have been dropped. You may, therefore, find some differences between the options you find described here and the ones on your system. When there seems to be a discrepancy, check the manpage (by way of the man command). For most commands, you can also use the --help option to get a brief usage message. (Even when it isn't a valid option, it usually results in an "invalid option" error message, along with the usage message.)
Traditionally, commands take single-letter options preceded by a single hyphen, like -d . A more recent Unix convention allows long options preceded by two hyphens, like --debug . Often, a feature can be invoked through either the old style or the new style of options.
There are over 300 Unix commands listed in this chapter, many of which don't have manpagesor worse , inaccurate manpageson the system. These commands give you the basics of what you need to know to get under the hood of your Mac OS X system...and more.