Knowledgebase: Diagnostic Tools
which command in linux
Posted by - NA - on 17 September 2005 08:22 PM
Which is a powerful command used in SSH environment to find out path of perl script, php executables, sendmail and many other linux utility.

Try following in SSH:

which php
>>> Results: /usr/local/bin/php
(Result will reflect according to your server settings.)

which perl
>>> Results: /usr/local/bin/perl
(Result will reflect according to your server settings.)

You can try this command for sendmail and other script location.

-- Jason
AccuWebHosting.Com
(667 votes)
This article was helpful
This article was not helpful

Comments (0)
Help Desk Software by Kayako Resolve