Mac Os X 10.4 Tiger (Visual Quickstart Guides)

You might be wondering how to find out exactly where you are after doing many cd commands. Unix has a spiffy little command just for this: pwd (present working directory).

To learn the current directory

Type pwd and press .

The complete path to the current directory appears, followed by the shell prompt (Figure 17).

Figure 17. The pwd command displays the complete path to the current directory.

Категории