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