$DIRSTACK
–
Directory Stack
$DIRSTACK
contains the values of the directory stack.
pushd
adds to the stack, popd
removes from the stack. The builtin command dirs
displays the values of the stack.
Links
BashSupport Pro 是一个 支持 $DIRSTACK 的 Bash 集成开发工具 – 马上试用!