You know how, in JavaScript, we can set a value to a variable if one doesn't, like this:
name = name || 'joe';
This is quite common and very helpful. Another option is to do:
name || (name = 'joe');
You know how, in JavaScript, we can set a value to a variable if one doesn't, like this:
name = name || 'joe';
This is quite common and very helpful. Another option is to do:
name || (name = 'joe');
#!/bin/bash | |
#Required | |
apikey=*YourAPIKey* | |
domain=*YourOrgDomain* | |
commonname=$(hostname --fqdn) | |
orgid=*YourOrgID* | |
#OV or EV or Private | |
cert_type=ov |