For this bash script:
#!/bin/sh
export AccessToken=678
export AccessTokenSecret=wxy
export ApiKey=abc
export ApiSecret=123
How can I then ensure that printenv
run at a later point in time will show these variables? That is, how are they made persistent?
Must they be added to the .bashrc
file?
I would think there's a sort of "database" of environment variables which can be accessed?
/etc/environment
but r u looking for lacalization? – PRATAP Jan 26 '20 at 11:59