Answers for "sh is null if"

0

sh is null if

VARIABLE="this variable is not null"
if [[ -z $VARIABLE ]]
then
   echo "is null"
else
   echo "is not null"
fi
Posted by: Guest on June-14-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language