Quelle1)

Find Path of Application Running on Solaris, Ubuntu, Suse or Redhat Linux

If you have installed multiple versions of an application into your system, you may wonder which command is being run from the command line when you launch it. This is especially useful to figure out the path of php when running on a shared server, as many shared servers have both php4 and php5 installed.

which <commandname>

To find the path of the application, you can use the which command, followed by the executable that you would have run.

Example:

# which svn
/usr/bin/svn
# which php
/usr/local/bin/php
 
Nach oben
find_path_of_application.txt · Zuletzt geändert: 2024/02/29 13:36 von 127.0.0.1
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp