CD into last directory in bash
Every day I learn something new about Bash (and forget two other things). Today I learned that cd -
will take you into last directory you were in. This is very useful for me because I constantly end up in a wrong place using autocomplete.
Written by Alex Gorbatchev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#