Re: how 'which'?
From: Lars Eighner (eighner_at_io.com)
Date: 11/30/03
- Previous message: Daniela: "Weird display problem"
- In reply to: Kevin D. Kinsey, DaleCo, S.P.: "Re: how 'which'?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 Nov 2003 20:54:30 -0600 (CST) To: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
On Sat, 29 Nov 2003, Kevin D. Kinsey, DaleCo, S.P. wrote:
> # which joe
>
> joe:
>
> #rehash
>
> #which joe
>
> joe: /usr/local/bin/joe
>
> You must rebuild the shell's list of executables
> after an install, using 'rehash' (at least in /bin/csh
> this is true....)
Evident sh and bash use the real which command, which actually
searches the path every time it is invoked. To bypass the
builtin, give the actual path to which, which accorting
to which which is /usr/bin/which .
-- Lars Eighner eighner@io.com -finger for geek code- http://www.io.com/~eighner/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Daniela: "Weird display problem"
- In reply to: Kevin D. Kinsey, DaleCo, S.P.: "Re: how 'which'?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|