Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 1997 15:06:18 -0600
From:      "Jeffrey J. Mountin" <sysop@mixcom.com>
To:        questions@freebsd.org
Subject:   Which problems
Message-ID:  <3.0.32.19970321150544.00700304@mixcom.com>

next in thread | raw e-mail | index | archive | help
No pun, but

Trying to 'which' paths doesn't seem to work, so:

NRock: /sys/compile/GENERIC > find / -name which -print
/usr/bin/which
/usr/src/usr.bin/which

NRock: /sys/compile/GENERIC > echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin

Looks good, but:

NRock: /sys/compile/GENERIC > which which
su: which: No such file or directory

Huh?

Fine:

NRock: /usr/bin > ./which which
su: ./which: No such file or directory

Arghh!

It is in /usr/bin and is mode 555 so what gives?

FYI, logged in, su'd to root, which uses /usr/local/bin/ksh for the shell.
System is 2.1.7 and was recently upgraded without a problem from 2.1.6 and
previously from 2.1.5 and that was fresh.

One can which which on BSDi just fine, but it seems to be broken.

My which is witched.


-------------------------------------------
Jeff Mountin - System/Network Administrator
jeff@mixcom.net

MIX Communications
Serving the Internet since 1990



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970321150544.00700304>