Okay these are bash goodies, so they'll work in any environment. If you're in a situation where you're switching between two different directory paths over and over again, here is a quick tipcd - Another little annoyance that I've gotten around is when you want to edit a system file and you type in the command (ie: vi /etc/this/is/a/really/long/path/config.cfg), only to realize that you forgot to sudo. This used to mean that I would quit vi, curse, recall the command, insert a sudo infront of the vi command and try again....well here is the quicker way.sudo !!This will (re)sudo your last command. And if that's not enough you can actually narrow the sudo down to the last command that started with a certain string.sudo !apacheWhich will look in the history…