Horje
shell script -z Code Example
shell script -z
# -z string
# True if the length of string is zero.

MY_VAR="${1}"

if [ -z $MY_VAR ] ; then
  echo "No input provided for script"
  exit 1
fi




Shell

Related
.aws directory not found Code Example .aws directory not found Code Example
git pull branch Code Example git pull branch Code Example
netstat -anp | grep :80 | wc -l Code Example netstat -anp | grep :80 | wc -l Code Example
"RNSScreen" was not found in the UIManager. Code Example "RNSScreen" was not found in the UIManager. Code Example
kubernetes commands Code Example kubernetes commands Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9