June 2006
Intermediate to advanced
64 pages
2h 42m
English
dirs
dirs [-clpv] [+n] [-n]
Print the directory stack, which is managed with pushd and popd.
+nPrint the nth entry from the left; first entry is zero.
-nPrint the nth entry from the right; first entry is zero.
-cRemove all entries from (clear) the directory stack.
-lProduce a longer listing, one that does not replace
$HOME with ~.
-pPrint the directory stack, one entry per line.
-vPrint the directory stack, one entry per line, with each entry preceded by its index in the stack.
Read now
Unlock full access