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 ls, let you put all the options together after a single hyphen. Other commands require that you use a separate hyphen for each option. Tips
|