Do we have more history for cd?
cd - can move to the last visited directory. Can we visit more history other than the last one?
cd - can move to the last visited directory. Can we visit more history other than the last one?
What are the practical uses of both pushd and popd when there is an advantage of using these two commands over cd and cd -?
Is there a difference between the behavior of pushd/popd in bash vs zsh? It seems in zsh cd, cd- behaves exactly the same as pushd/popd (which adds/pops directory automatically when cd) while in bash cd doesn’t affect the dir stack.
The Bash command
After pushding too many times, I want to clear the whole stack of paths.