. Bash_Profile Not Working
I'm Trying to Set Avariable in My Bash_Profile: Echo Export "Avariable=Example" >> ~/. Bash_Profile Then Source ~/. Bash_Profile After That, Avariable Should...
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?
1 Answer
To reference an environment variable, you'd need to preface it with $ : $AVARIABLE