home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3933 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.1 KB

  1. Path: sparky!uunet!know!hri.com!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
  2. From: dattier@ddsw1.mcs.com (DWT)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: Problem with cd in ksh
  5. Message-ID: <BuIyrI.6LJ@ddsw1.mcs.com>
  6. Date: 13 Sep 92 16:21:18 GMT
  7. References: <1992Sep11.154200.12351@cbnewsl.cb.att.com>
  8. Organization: Contributor Account at ddsw1, Chicago, Illinois  60657
  9. Lines: 17
  10.  
  11. akachhy@cbnewsl.cb.att.com (avinash.kachhy) wrote in
  12. <1992Sep11.154200.12351@cbnewsl.cb.att.com>:
  13.  
  14. | I am using kah on a SUN machine running SunOS. When I execute
  15. | cd anydir
  16. | I get an error message from ksh that "anydir was not found"
  17. | I must execute the cd command as follows to change directory.
  18. | cd ./anydir
  19.  
  20. It sounds as though your CDPATH variable contains neither . nor the specific
  21. directory you were in at the time.
  22.  
  23. The arguments against having . in your $PATH do not apply to $CDPATH.  It's
  24. safe to have it in $CDPATH, even to have it first.
  25.  
  26. David W. Tamkin   Box 59297   Northtown Station, Illinois  60659-0297
  27. dattier@ddsw1.mcs.com    CompuServe: 73720,1570    MCI Mail: 426-1818
  28.