mirror of https://github.com/mkerrisk/man-pages
environ.7: Add some details describing hos shell's environment is initialized
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
170eb74156
commit
94d3ac0936
|
@ -138,6 +138,19 @@ or by the
|
||||||
command if you use
|
command if you use
|
||||||
.BR csh (1).
|
.BR csh (1).
|
||||||
|
|
||||||
|
The initial environment of the shell is populated in various ways,
|
||||||
|
such as definitions from
|
||||||
|
.IR /etc/environment
|
||||||
|
that are processed by
|
||||||
|
.BR pam_env (8)
|
||||||
|
for all users at login time (on systems that employ
|
||||||
|
.BR pam (8)).
|
||||||
|
In addition, various shell initialization scripts, such as the system-wide
|
||||||
|
.IR /etc/profile
|
||||||
|
script and per-user initializations script may include commands
|
||||||
|
that add variables to the shell's environment;
|
||||||
|
see the manual page of your preferred shell for details.
|
||||||
|
|
||||||
Bourne-style shells support the syntax
|
Bourne-style shells support the syntax
|
||||||
|
|
||||||
NAME=value command
|
NAME=value command
|
||||||
|
|
Loading…
Reference in New Issue