Path: utzoo!censor!geac!jtsv16!uunet!cs.utexas.edu!sun-barr!ames!pacbell!well!dansmith
From: dansmith@well.UUCP (Dan "Bucko" Smith)
Newsgroups: comp.unix.questions
Subject: Re: Changing Directory
Summary: use of symbolic links makes this easy
Keywords: cd symlink
Message-ID: <13050@well.UUCP>
Date: 8 Aug 89 00:06:58 GMT
References: <5068@mtuxo.att.com> <9730@alice.UUCP> <218@quad.uucp>
Reply-To: dansmith@well.UUCP (Dan "Bucko" Smith)
Distribution: usa
Organization: Whole Earth 'Lectronic Link, Sausalito, CA
Lines: 23

In article <218@quad.uucp> dts@quad.uucp (David T. Sandberg) writes:
>In article <9730@alice.UUCP> debra@alice.UUCP () writes:
>>In article <5068@mtuxo.att.com> jld@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@well.sf.ca.us   daniel@island.uu.net   unicom!daniel@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...