Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
cdof() { # cd to the directory of a file if [ -d $1 ] then builtin echo "$1: Is a directory" return 1 else # cd `dirname $1` builtin cd ${1%${1##*/}} fi }
#
Return to Retain and recall long paths with rr utility
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
Retain and recall long paths with rr utility
Posted by: Anonymous [ip: 82.95.236.142] on October 16, 2007 08:20 PM~/.bashrc or ~/.bash_profile:
Bauke Jan Douma
#