'Which' Command in Linux Environment?

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Jason
    Administrator
    • Sep 2004
    • 95

    'Which' Command in Linux Environment?

    Dear AccuWebHosting Forum Users,

    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
    ---------
    Technical Support Group
    AccuWebHosting.Com
    Windows Website Hosting
    Linux Website Hosting
Working...
X