Created
April 4, 2020 20:35
-
-
Save snowch/c527ac2809bec2153ed7188e7720ccab to your computer and use it in GitHub Desktop.
Check command exists or exit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Check 1# ldapmodify installed or not | |
[[ -x $(command -v ldapmodify) ]] || { echo "Please Install Openldap-clients"; exit 1; }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment