home *** CD-ROM | disk | FTP | other *** search
- 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
- From: dattier@ddsw1.mcs.com (DWT)
- Newsgroups: comp.unix.shell
- Subject: Re: Problem with cd in ksh
- Message-ID: <BuIyrI.6LJ@ddsw1.mcs.com>
- Date: 13 Sep 92 16:21:18 GMT
- References: <1992Sep11.154200.12351@cbnewsl.cb.att.com>
- Organization: Contributor Account at ddsw1, Chicago, Illinois 60657
- Lines: 17
-
- akachhy@cbnewsl.cb.att.com (avinash.kachhy) wrote in
- <1992Sep11.154200.12351@cbnewsl.cb.att.com>:
-
- | I am using kah on a SUN machine running SunOS. When I execute
- | cd anydir
- | I get an error message from ksh that "anydir was not found"
- | I must execute the cd command as follows to change directory.
- | cd ./anydir
-
- It sounds as though your CDPATH variable contains neither . nor the specific
- directory you were in at the time.
-
- The arguments against having . in your $PATH do not apply to $CDPATH. It's
- safe to have it in $CDPATH, even to have it first.
-
- David W. Tamkin Box 59297 Northtown Station, Illinois 60659-0297
- dattier@ddsw1.mcs.com CompuServe: 73720,1570 MCI Mail: 426-1818
-