Answers for "how to check a variable is null in shell script"

C#
0

check if a variable is null in bash

if [[ -n "$list_Data" ]]
then
    echo "not Empty"
else
    echo "empty"
fi
Posted by: Guest on March-20-2021

Code answers related to "how to check a variable is null in shell script"

C# Answers by Framework

Browse Popular Code Answers by Language