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.
Written by n00shie
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#