using cd command in a file

vlb at apple.com vlb at apple.com
Tue Jun 4 09:40:04 AEST 1991


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 at 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?)



More information about the Comp.unix.questions mailing list