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

Posted by petur on Jul 11, 2010 5:06 PM EDT
Péturs blog; By Pétur Ingi Egilsson
Mail this story
Print this story

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 definitions file which is easy to change. “cd /home/petur/Documents/school/2010/fall/chemistry” becomes “cdf chemistry” and “cd /var/log” becomes “cdf log”

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.