Search the directories in the PATH environment variable for a command.
which command
None
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.