I'm trying to set AVARIABLE in my bash_profile:
echo export "AVARIABLE=example" >> ~/.bash_profilethen
source ~/.bash_profileAfter that, AVARIABLE should be working, but...
bash: AVARIABLE: command not foundWhat in the hell could be causing this?
31 Answer
To reference an environment variable, you'd need to preface it with $ : $AVARIABLE