which
Syntax
which
command
Options
None
Description
The which
command searches the directories in the PATH
environment variable for the file that will be executed when you type the command. This is a good way to check what will be executed when you type a specific command.