dirsdirs [+N | -N] [-clpv]
Display the list of currently remembered directories. Directories
are added to the list with the pushd command; the
popd command removes directories from the list.
+Ndirs when invoked without options), starting
with zero.
-Ndirs when invoked without options), starting
with zero.
-c-l-pdirs to print the directory stack with one entry per
line.
-vdirs to print the directory stack with one entry per
line, prefixing each entry with its index in the stack.
popdpopd [+N | -N] [-n]
Remove the top entry from the directory stack, and cd
to the new top directory.
When no arguments are given, popd
removes the top directory from the stack and
performs a cd to the new top directory. The
elements are numbered from 0 starting at the first directory listed with
dirs; i.e., popd is equivalent to popd +0.
+Ndirs), starting with zero.
-Ndirs), starting with zero.
-npushdpushd [-n] [+N | -N | dir ]
Save the current directory on the top of the directory stack
and then cd to dir.
With no arguments, pushd exchanges the top two directories.
-n+Ndirs, starting with zero) to the top of
the list by rotating the stack.
-Ndirs, starting with zero) to the top of
the list by rotating the stack.
cd dir'.
cds to dir.