Linux/Unix environment variables

environment-variables, linux, unix

Solution

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.

Problem

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?

Original source

Related problems