Answers for "bash if null or empty"

C#
9

bash if null or empty

if [ -z "$variable" ];
  then echo "$variable is null";
  else echo "$variable is not null";
fi
Posted by: Guest on April-19-2020

C# Answers by Framework

Browse Popular Code Answers by Language