How to find physical location of an application by name? I can open Terminal and execute open -a "iPhone Simulator" and as long as the application is installed, it will launch. Is there a similar command that will return the path to the application instead of launching it?
If you type this:


  find /Applications -name "Safari"


you will find the Safari.app for example. I do not have iPhone Simulator, thus I cannot test that one.

If you type 


  mdfind "Safari"


you will find all records containing Safari (or iPhone Simulator).

Note: safari is not the best option to search for as it is a native program