Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sh is null if

VARIABLE="this variable is not null"
if [[ -z $VARIABLE ]]
then
   echo "is null"
else
   echo "is not null"
fi
 
PREVIOUS NEXT
Tagged: #sh #null
ADD COMMENT
Topic
Name
8+7 =