Jika variabel env ada bash

if [[ -z "${VAR}" ]]; then
  echo "hello"
fi
Graceful Grivet