Bash Check if env variable present

Back

if [[ ! -z "$ENV_VAR" ]]; then
    echo "Env var ENV_VAR is present with value $ENV_VAR"
fi