Vérifiez si une variable est nulle en bash

if [[ -n "$list_Data" ]]
then
    echo "not Empty"
else
    echo "empty"
fi
Gifted Gorilla