3 ms·
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 t
by GauntletWizard 12y ago
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.
- OlivierLi 12y agoTip : Setting cd as an alias for pushd make the whole thing much more intuitive.