Your Webhosting Questions
Answered by the Webhosting Experts

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

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +