---

Change to your Favorite directories on the bash shell by scripting ‘cd’

[ Thanks to petur for this link. ]

“I’m sick and tired of having to remember and ‘cd’ long paths. I decided to create my own console based Favorites-script which makes use of a definition file which is easy to change.

“This post updates http://www.petur.eu/blog/?p=175

““cd /home/petur/Documents/school/2010/fall/chemistry†becomes “cdf chemistry†and “cd /var/log†becomes “cdf log—

Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis