commands.sh
⌘K

which

all

Locate a program in the user's `$PATH`. See also: `whereis`, `type`.

More info →

Options (1)

-a, --allboolean

If there are multiple executables which match, display all

Example: which {{[-a|--all]}} {{executable}}

Examples (2)

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
made by @shridhargupta | data from tldr-pages