[ Thanks to An Anonymous Reader for
this link. ]
“Hack #5: Use dirs, pushd and popd to manipulate
directory stackYou can use directory stack to push directories into it and
later pop directory from the stack. Following three commands are
used in this example.
dirs: Display the directory stack
pushd: Push directory into the stack
popd: Pop directory from the stack and cd to it”