# which > Locate a program in the user's path. > See also: `whereis`, `whatis`, `type`. > More information: . - Search the PATH environment variable and display the location of any matching executables: `which {{executable}}` - If there are multiple executables which match, display all: `which {{[-a|--all]}} {{executable}}`