June 4th, 2008 Add Your Comments

I’ve been using bash forever and never knew about this:

$ cd -

This will let you change directory to your previous location in the file system. It’s and easy way switch back and forth between two directories.