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