Last Updated: February 25, 2016
· sheerun
Photo on 08.01.2013 at 04.15

Go back any number of directories in shell.

If you're using zsh, make sure you have enabled setopt auto_pushd (in oh-my-zsh, which I'm fan of, this is the default).

Now you can popd to go back in browsing history.

You can also use dirs -v to show all stacked directories.

If you're using bash, you can probably alias cd to pushd.

Say Thanks
Filed Under

Awesome Job

95279d52 836e 11e7 9dc6 5e53a6e1322f
FPGA Engineer
New York, NY; London, UK
Full Time