Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
GauntletWizard
· 11y ago · 0 comments
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.
Comments
[–]
OlivierLi
11y ago
Tip : Setting cd as an alias for pushd make the whole thing much more intuitive.