Name
dirs
Synopsis
dirs
[options]
Print the directory stack, showing the current directory first. See
also popd and pushd. All
options except -l
, -n
, and
-v
are tcsh extensions.
Options
-
-c
Clear the directory stack.
-
-l
Expand the home directory symbol (~) to the actual directory name.
-
-n
Wrap output.
-
-v
Print one directory per line.
-
-L
file
Re-create stack from
file
, which should have been created bydirs -S
file
.-
-S
file
Print to
file
a series of pushd and popd commands, which can be invoked to replicate the stack.
Get Mac OS X in a Nutshell 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.