(03-09-2012, 08:37 PM)scummos Wrote: That doesn't make a lot of sense. which will find exactly the same things the shell will find too, as it searches in the same places. In other words, I don't think you'll ever get any information from which if bash tells you "command not found".
Ah, you're right. Which only checks the $PATH variable. A more accurate way to see if the program is anywhere on your system would be to use the find command. To avoid any permission errors, try running this as an admin/superuser/root or whatever OS X refers to:
Code:
find / -maxdepth 5 -name arYou can increase the maxdepth argument to (possibly) get more results. It should give you a list of files that are named "ar", if any exist on your system. If one of them turns out to be the ar command you need, you could try adding that to your $PATH variable.
