I am calling a 'executable' on Linux. One way by console and another from PHP script. They both call other executable (i see it by version of file). So I need a way to display a path to executable that will be called when I try to run it. How to do this in Linux?
feedback
|
|
You can use
For example
You can also get the full path with
The Note that the PATH can be different between users, so if your PHP script is executed with the | |||
|
feedback
|
|
You can use :
or
To see where the binaries or located. | |||
|
feedback
|