Where are the environment variables displayed by "env"?

Questions about software.
albert.wagner
Posts: 52
Joined: 10 Mar 2018 16:43

Where are the environment variables displayed by "env"?

Postby albert.wagner » 15 Sep 2018 02:48

Where are the environment variables stored in Solydx? There is nothing in /etc/environment, where I expected to find them.

User avatar
ilu
Posts: 2006
Joined: 09 Oct 2013 12:45

Re: Where are the environment variables displayed by "env"?

Postby ilu » 15 Sep 2018 22:02

There are a LOT of environment variables displayed by "env". Nobody has the time to write a digest on it. You'll have to research that yourself if you are interested. https://wiki.debian.org/EnvironmentVariables (systemd and PAM are involved) and https://standards.freedesktop.org/ are good starting points to learn about unix standards.

If you want to set environment variables, you can do that in either ~/.profile or ~/.bashrc. For all users you could also use /etc/profile.d.


Return to “Software”

Who is online

Users browsing this forum: No registered users and 2 guests