Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

bash if null or empty

if [ -z "$variable" ];
  then echo "$variable is null";
  else echo "$variable is not null";
fi
 
PREVIOUS NEXT
Tagged: #bash #null #empty
ADD COMMENT
Topic
Name
8+9 =