13 lines
345 B
Plaintext
13 lines
345 B
Plaintext
usage: have [NAME...]
|
|
|
|
List executable command names found in PATH, one per line.
|
|
With NAME args, print the names that are available and exit 1 if any are missing.
|
|
This inspects PATH only; it does not know shell builtins, aliases, functions, or packages.
|
|
|
|
stdout:
|
|
one command name per line
|
|
|
|
examples:
|
|
have | grep '^zig$'
|
|
have zig git curl
|