Last Updated: February 25, 2016
·
1.248K
· n00shie

Navigate through your command line like a boss. (Push and pop yo directories, dawg.)

Use pushd and popd to "push" and "pop" your directories.

Essentially, this extends:

$ cd -

where you switch to the last directory you were in.

You can also create an alias for pushd:

$ alias cd='pushd'

And just pop whenever you need to.