4
rated 0 times
[
4]
[
0]
/ answers: 1 / hits: 7502
/ 3 Years ago, wed, september 22, 2021, 2:23:21
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:
export country=UK
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.
More From » command-line