I'm trying to figure out how to create persistant environment variables for my "root" user. I've tried running this in command line:
export ETSY_CONSUMER_SECRET='xxx' export ETSY_CONSUMER_KEY='xxx'
If I then type:
I correctly get the value back. BUT as soon as I close the terminal and reload it, the variable is gone.
I then read you should add it to your /root/.bashrc file to make it persistant. So I added this there:
export ETSY_CONSUMER_KEY='xxx' export ETSY_CONSUMER_SECRET='xxx'
reloaded the SSH connection, but I get nothing when doing:
I even tried just doing:
But the same problem.
What am I missing?