Skip to main content

Locate a program in the user's path.

# To search the PATH environment variable and display the location of any matching executables:
which <executable>

# To if there are multiple executables which match, display all:
which -a <executable>