I need set more than 100 environment variable from file.txt .this variable in text file is same below:
env=BACKTORY_AUTHENTICATION_MASTER_KEY=058f04d8ea6545sdf65sde99e49
env=BACKTORY_AUTHENTICATION_CLIENT_KEY=5a3ba2f0e4b0a24sdfsd4ffb4
env=BACKTORY_MASTER_ACCESS_TOKEN=my_token
.
.
.
is any way to set this variable automatically ?
and second question is : one time i set this variable manually by this way export variable = value
one by one! but now i cant see any of them when i use printenv
. is after restarting Ubuntu every environment variable will deleting?
thanks.