Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!linus!agate!usenet.ins.cwru.edu!ukma!rex!spool.mu.edu!mips!apple!vlb@apple.com From: vlb@apple.com Newsgroups: comp.unix.questions Subject: Re: using cd command in a file Message-ID: <13862@goofy.Apple.COM> Date: 3 Jun 91 23:40:04 GMT Sender: usenet@Apple.COM Reply-To: vlb@apple.COM (Vicki Brown) Organization: Apple Computer Lines: 20 In [several articles] [several people] write >>>>> I would like to get to a directory /me/A/B/C/D by just typing j. If you are using csh (or tcsh) look up cdpath. For example, I need to get to the directory /d4/oreo/install/3.0 fairly regularly. My cdpath contains "/d4/oreo/install" and I just use the command "cd 3.0" to get to where I want to go. Since you can also use (no wildcards) subdirectories, this can be quite useful: cd 3.0/src cd 3.0/tst all with only 1 definition You may find this to be useful... Vicki Brown A/UX Development Group Apple Computer, Inc. Internet: vlb@apple.com MS 50UX, 10300 Bubb Rd. UUCP: {sun,amdahl,decwrl}!apple!vlb Cupertino, CA 95014 USA Ooit'n Normaal Mens Ontmoet? En..., Beviel't? (Have you ever met a normal person? So..., did you like it?)