Có tương đương với bash pushd/popd build trong lệnh cho KSH không?pushd/popd trên ksh?
Đối với những người không biết những gì pushd và popd trong bash làm, đây là mô tả từ trang người đàn ông
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:
Cảm ơn
Cài đặt 'pushd' /' popd' xuất sắc xuất hiện [ở đây] (http://blogs.oracle.com/nico/entry/ksh_functions_gal quặng) trong một trong những blog của Oracle - có lẽ liên quan đến việc sử dụng nó trong Solaris. – Mei