Changing Directory

Dan "Bucko" Smith dansmith at well.UUCP
Tue Aug 8 10:06:58 AEST 1989


In article <218 at quad.uucp> dts at quad.uucp (David T. Sandberg) writes:
>In article <9730 at alice.UUCP> debra at alice.UUCP () writes:
>>In article <5068 at mtuxo.att.com> jld at mtuxo.att.com (XMRJ4-J.DALTON) writes:
>>>QUESTION: I have a very long path which is quite tedious to type in
>>>          every time I wish to visit a certain directory.

	I'm surprised no one has mentioned this scheme yet:

	As long as you have a cdpath variable and symlinks...

	Make a directory in your home, such as ~/.dirs, and put
the .dirs directory in your $cdpath.  Now, for frequently accessed
directories, make a symlink with whatever name you want to use when
you want to cd to that directory.  For instance, I have "ulb" as
a symlink to "/usr/local/bin", "ulu" for "/usr/lib/uucp", "bkups"
for "/usr/local/backups"....  Allows you to call things what you want!

				dan
-- 
                         Dan "Bucko" Smith
   dansmith at well.sf.ca.us   daniel at island.uu.net   unicom!daniel at pacbell.com
ph: (415) 332 3278 (h), 258 2136 (w) disclaimer: Island's coffee was laced :-)
My mind likes Cyberstuff, my eyes films, my hands guitar, my feet skiing...



More information about the Comp.unix.questions mailing list