Unix Command Basics

You work with Unix by typing commands in a Terminal window at the shell prompt. Press after each command to enter it. The results of the command entry appear in the Terminal window, followed by a new shell prompt.

Most Unix commands can be used with options that make them do slightly different things. For instance, the ls command has 35 options in Mac OS X. To include an option with a command, enter the command followed by a space, a hyphen, and the option. For example, to use the l option with the ls command, you’d enter ls -l.

You can use more than one option at a time by stringing them together. Some commands, such as ...

Get Mac OS X 10.4 Tiger: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.