Kind of like the cd - trick above, but pushd and popd are invaluable. You can create a whole stack of directories to switch from. The command dirs will give you a list of whats on the current stack. Very useful if you keep going back and forth, just pushd dir then popd and then to keep swapping !push and !pop to get back.
Bash is great.
|