Linux and Unix which command
Quick links
About which
Syntax
Examples
Related commands
Linux and Unix main page
Locate a command.
which [ filename ] ...
| filename | Name of the file you are looking for. |
which perl
Would locate the executable location of the Perl command.
