>_ linuxcommand.dev
Startseite which
Shell

which

Locate a command in PATH.

Syntax
$which [OPTIONS] COMMAND...
Examples
Examples
$which ls
Examples
$which -a python
Typical use cases
Standard usage
which --help
Detailed Help
man which
Note Shows the executable that the shell would run.
Export