The minimum and most straightforward way to check if command exists and where the executable is.
A utility to check whether an executable file of a given name exists in any of the directories listed in the system's PATH environment variable.
The minimum and most straightforward way to check if command exists and where the executable is.