Si la sortie est nulle bash

[[ -z "$my_var" ]] && echo "NULL"
[[ -z "$my_var" ]] && echo "NULL" || echo "Not NULL"
Hungry Hippopotamus