VAR=`echo Hello world` if [[ -n "$VAR" ]] ; then echo "Variable is set" ; fi if [[ -z "$VAR" ]] ; then echo "Variable is null" ; fi
if [[ -n "$list_Data" ]] then echo "not Empty" else echo "empty" fi