In some circumstances you may wish to make environment variables permanent between sessions, users, globally, or reboots.
/etc/profile file contains system wide environment variables and settings. All customizations that you put in this file will apply for every user on the system, including processes running as users.
For example if you ...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.