I think it depends on the version of BASH one is using.  'which'  works in 
my version of BASH, but neither 'whereis' nor 'where' works.  I'm using GNU 
bash, version 2.05.0(1).

At 05:38 PM 6/20/01 +0930, you wrote:
>Hi Ronald,
>
> > To find make Martin suggested %wich make or %where make. On my machine make
> > & gnumake are where they should
> > be, thougth bash can not find wich or where? Are this to tools part of the
> > developer tools?
> > They are not on /usr/bin, where else can they be? Otherwise where can I get
> > them?
>
>"which" and "where" are built into the standard shells (zsh, csh, tcsh)
>found in MacOSX. Judging by bash on my solaris box (I haven't installed it
>for MacOSX) it seems that "where" is not available in bash, but you can use
>"whereis" instead: I'd guess that "where" is simply another way to call
>"whereis" in the other shells. "which" (with the "h") works fine in bash.
>
>That is, both of these should work for you:
>
>which make
>whereis make
>
>Cheers,
>         Paul

Aaron Lawson, Ph.D
Linguistic Researcher
MNIS-TextWise Labs, LLC
(315)426-9311, ext. 260
[EMAIL PROTECTED]

Reply via email to