if [ -z $my_var ] # returns True if my_var is null if [ -n $my_var ] # return False if my_var is null