在KSH的命令中是否有相當於bash pushd/popd的構建?在ksh上pushd/popd?
對於那些誰不知道什麼pushd和popd命令在bash做,這裏是從該名男子頁的說明
pushd [-n] [dir]
pushd [-n] [+n] [-n]
Adds a directory to the top of the directory stack, or rotates
the stack, making the new top of the stack the current working
directory. With no arguments, exchanges the top two directo-
ries and returns 0, unless the directory stack is empty.
popd [-n] [+n] [-n]
Removes entries from the directory stack. With no arguments,
removes the top directory from the stack, and performs a cd to
the new top directory. Arguments, if supplied, have the fol-
lowing meanings:
感謝
出現了一個出色的`pushd` /`popd`安裝[這裏](http://blogs.oracle.com/nico/entry/ksh_functions_gal礦石)在Oracle的其中一個博客中 - 可能與其在Solaris中的使用有關。 – Mei 2012-01-13 17:29:48