Changing Directory
Daniel McGurl
dsm at prism.gatech.EDU
Thu Aug 3 00:15:19 AEST 1989
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.
> My question: Is there a way that I can put this path in a
> file, then execute a shell that will place me in that directory?
Well, I tried this on our system, and to get it to work, I created a
file containing the instructions
cd $HOME/foo/bar
then to execute it, I just did a
. file
It's putting the shell through A LOT of work to do this, but it works.
--
Daniel Sean McGurl "He's got to make his own mistakes,
Office of Computing Services and learn to mend the mess he makes."
Georgia Institute of Technology,
Atlanta Georgia, 30332 ARPA: dsm at prism.gatech.edu
More information about the Comp.unix.questions
mailing list