5 Simple Bash Tips, Part III

This is the third article in the Bash tips series, you can find the other two here and here.

1. Use cd - to go to the previous working directory

cd - is the same as cd $OLDPWD, where the $OLDPWD variable holds the previous working directory. You can also alias this to something like: