Getting the Directory Location with the pwd Command


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.




Visual QuickStart Guide. Mac OS X 10. 4 Tiger
Mac Os X 10.4 Tiger (Visual Quickstart Guides)
ISBN: 0321423372
EAN: 2147483647
Year: 2003
Pages: 301
Authors: Maria Langer

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net