2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: which
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
2020-01-01 07:45:27 +01:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
Finds a program file, alias or custom command.
|
2020-01-01 07:45:27 +01:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Signature
|
2020-01-01 07:45:27 +01:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
```> which (application) ...rest --all```
|
2020-01-01 08:47:25 +01:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Parameters
|
2020-01-01 08:47:25 +01:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
- `application`: application
|
|
|
|
- `...rest`: additional applications
|
|
|
|
- `--all`: list all executables
|
2020-01-01 07:45:27 +01:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
Find if the 'myapp' application is available
|
2020-01-01 07:45:27 +01:00
|
|
|
```shell
|
2022-02-14 03:22:51 +01:00
|
|
|
> which myapp
|
2020-06-23 20:21:47 +02:00
|
|
|
```
|