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