Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!purdue!gatech!prism!dsm From: dsm@prism.gatech.EDU (Daniel McGurl) Newsgroups: comp.unix.questions Subject: Re: Changing Directory Keywords: cd Message-ID: <1325@hydra.gatech.EDU> Date: 2 Aug 89 14:15:19 GMT References: <5068@mtuxo.att.com> Reply-To: dsm@prism.gatech.EDU (Daniel McGurl) Distribution: usa Organization: Georgia Institute of Technology Lines: 20 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. > 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@prism.gatech.edu