1ENVIRON(5)                    File Formats Manual                   ENVIRON(5)
2
3
4

NAME

6       environ - user environment
7

SYNOPSIS

9       extern char **environ;
10

DESCRIPTION

12       An  array  of  strings  called  the  `environment' is made available by
13       exec(2) when a process begins.  By convention these  strings  have  the
14       form `name=value'.  The following names are used by various commands:
15
16       PATH   The sequence of directory prefixes that sh, time, nice(1), etc.,
17              apply in searching for a file known by an incomplete path  name.
18              The    prefixes   are   separated   by   `:'.    Login(1)   sets
19              PATH=:/bin:/usr/bin.
20
21       HOME   A user's login directory, set by login(1) from the password file
22              passwd(5).
23
24       TERM   The  kind  of terminal for which output is to be prepared.  This
25              information is used by commands, such as nroff or plot(1), which
26              may  exploit  special  terminal capabilities.  See term(7) for a
27              list of terminal types.
28
29       Further names may be placed in the environment by  the  export  command
30       and  `name=value'  arguments  in sh(1), or by exec(2).  It is unwise to
31       conflict with certain Shell variables that are frequently  exported  by
32       `.profile' files: MAIL, PS1, PS2, IFS.
33

SEE ALSO

35       exec(2), sh(1), term(7), login(1)
36
37
38
39                                                                    ENVIRON(5)
Impressum