Comment Comment by GauntletWizard The commands are pushd and popd, and they're bash (and zsh, and most sane shell) builtins. Pushd to get to a new directory, popd to go back to the last one on the stack. parent GauntletWizard 11 years ago