Where Linux/Unix environment variables are kept? How can I add my own environment variable and make it persistent, not only within currently running script?
you can add them in your profile, eg ~/.bash_profile. global profile is usually located in /etc. eg /etc/profile. Take a look also at /etc/profile.d directory if you have it.