Bash Script Check Environment Variable Linux Mint