In order to export variables permanently, we can write the export command in the following files:
~/.profile ~/.bash_profile /etc/profile
In my case,
~/.bash_profile does not exist, and therefore I export the variable in the other two files:
The problem I have now is that the variable I defined (
country) is still unknown for the system. I was wondering what I should do next. Thanks!