Hacker News new | ask | show | jobs
by znpy 2521 days ago
pushd/popd - manipulate a stack of directory paths.

Useful to save the current directory, go somewhere else, do stuff and then come back to the original directory.

It works awesomely in bash scripts too!