Basic Tiger Filesystem Navigation

The most basic commands for dealing with the Unix filesystem are those for moving around the filesystem (changing that “somewhere” that the shell always is) and for listing the contents of directories (finding out what's in the same location as the shell or in some other directory). Before you start moving around, however, it's a good idea to be able to find out where you are.

Finding Your Current Location: pwd

The pwd command (print working directory) prints the full path to the current working directory—the location where you are at the moment in this particular shell.

brezup:nermal Documents $ pwd
/Users/nermal/Documents

Table 10.1 shows the complete command documentation table for pwd.

Table 10.1. The Command ...

Get Mac OS® X Tiger™ Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.