Home / Operating Systems / How can I find the local path to a command line binary?/
ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.
Click here for more info ...

Browse by category
Search | Advanced search
The command which shows the full local path of (shell) commands. If you have more than one binary in separate locations the command which will report the one bash would execute first.
which bash
/bin/bash
which php
/usr/bin/php