-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2230
Vidar Holen edited this page Feb 26, 2018
·
12 revisions
which grep
command -v grep
which
is a non-standard, external tool that locates an executable in PATH. command -v
is a POSIX standard builtin, which uses the same lookup mechanism that the shell itself would.
None
- Check if a program exists from a Bash script on StackOverflow.