2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: which
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
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
|
|
|
```
|