$ 0 0 This will return true if a variable is unset or set to the empty string (""). if [ -z "$VAR" ];