Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How can I find the path to a command line binary?

You can use the command which, which shows the full path of (shell) commands. Which finds the first binary within path. If you have more than one binary in separate locations which will report the one bash would execute first.

root@root [~]# which bash
root@root [~]# which php
Share on Twitter
Share on Facebook