Name

dirs

Synopsis

                     dirs [options]

Print directories currently remembered for pushd/popd operations.

Options

+entry

Print entryth entry from start of list (list starts at 0).

-entry

Print entryth entry from end of list.

-c

Clear the directory stack.

-l

Long listing.

-p

Print the directory stack, one entry per line.

-v

Like -p, but prefix each entry with its position in the stack.

Get Mac OS X Panther in a Nutshell, 2nd Edition 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.