Linux environment vs profile

environment: Environment variable that is applied at system startup. It affects the entire system. The file location is in /etc/environment.

profile: Environment variables applied at login and user-specific settings exist as /home//.profile, and are applied to environment variables of all logged-in users by applying to /etc/profile.

environment can be applied to applications that do not use the shell.

And profile just re login applied to Environment variables

Facebook Comments

Leave A Reply

Detection ADBlockPlease, Disable or add to white list on our site.