How to check if command exists in a shell script? - Stack ...
經安全檢測,此網站為安全網站,請放心前往原始網址!
How to check if command exists in a shell script? - Stack ...
2011年9月22日 - In general, that depends on your shell, but if you use bash, zsh, ksh or sh (as provided by dash), the following should work: if ! type ...