which flags & options
Default usage
Show the full path of the first matching executable.
which python
which node
-a
Show all matching executables found in PATH, not just the first.
which -a python
which -a gcc
Show the full path of the first matching executable.
which python
which node
-aShow all matching executables found in PATH, not just the first.
which -a python
which -a gcc