📜  如果 sh 为 null - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:25.393000             🧑  作者: Mango

代码示例1
VARIABLE="this variable is not null"
if [[ -z $VARIABLE ]]
then
   echo "is null"
else
   echo "is not null"
fi