"which" command in Linux

which is a powerful command used in SSH environment to find out path of perl script, php executables, sendmail and many other linux utilities.

Try the following in SSH:


which php

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

which perl

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

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


Related Articles

Where do i put my review for Accuwebhosting.com?

Here, is a list of website links where you can put your reviews for Accuwebhosting....

How ImunifyAV+ is useful?

ImunifyAV+ is an effective anti-malware service. It is used to scan and detect the malware lied...

NAT (Network Address Translation)

What is NAT? NAT (Network Address Translation) was introduced in the IT and Networking...

How to renew SSL?

If you have an existing SSL Certificate purchased from Acuwebhosting, you just need to update us...

Why is my Autossl failing in cPanel?

ERROR Local DNS DCV error (mail.example.com): The DNS query to...

  • 647 Users Found This Useful

Was this answer helpful?