September 2009
Beginner
942 pages
85h 34m
English
pushd
pushd [-n] [directory] pushd [-n] [+count] [-count]
Add directory to the directory stack, or rotate the directory stack. With no arguments, swap the top two entries on the stack, and change to the new top entry.
Don’t change to the new top directory, just manipulate the stack.
Rotate the stack so that the count‘th item from the left, as shown by dirs, is the new top of the stack. Counting starts at zero. The new top becomes the current directory.
Rotate the stack so that the count‘th item from the right, as shown by dirs, is the new top of the stack. Counting starts at zero. The new top becomes the current directory.