which for system

Finds a program file, alias or custom command.

Signature

> which {flags} (application) ...rest

Flags

  • --all, -a: list all executables

Parameters

  • application: Application.
  • ...rest: Additional applications.

Input/output types:

inputoutput
nothingtable

Examples

Find if the 'myapp' application is available

> which myapp