Location of file folders of installed programs
For example the following are the same
# /usr/bin/php updateDatabase.php # php updateDatabase.php
But how would I infer the location of the php command to be in /usr/bin?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
You can use the
EDIT: From this answer to a similar question, you can also use the
When the program can be run without specifying the full path, then its directory is in your