you should use 'which' instead of 'whereis'. 'whereis' doesn't
search /opt/local, by default, even if it's in your PATH. 'which'
does, though.
you might also want to use 'type', if you're running bash. 'type' has
the comfort of offering a '-a' for "all" parameter (see below.
$whereis ba
Well yeah, but I'm so used to whereis :) I guess since I'm getting
used to the /opt/local dir now instead of /usr/ I should get used to
a new command. find is kind of slow, though. That's why I liked
whereis. which seems to work just fine too.
Thanks.
On Apr 5, 2007, at 7:34 PM, Gerald Hil
Of course, when I do a "whereis" it gives me stuff in /usr/bin. How
do I get whereis to show me the path in /opt/local?
Alex Kac - President and Founder
Web Information Solutions, Inc. - Microsoft Certified Partner
"Patience is the companion of wisdom."
--Anonymous
___