1 .\" Copyright (c) 1983, 1990, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" @(#)environ.7 8.3 (Berkeley) 4/19/94
42 .Ar extern char **environ ;
44 An array of strings called the
48 when a process begins.
49 By convention these strings have the form
51 The following names are used by various commands:
52 .Bl -tag -width LC_MONETARY
54 The size of the block units used by several commands, most notably
59 This variable is processed by the
63 The user's preferred width in column positions for the terminal.
68 use this to format output into columns.
69 If unset or empty, utilities will use an
71 call to ask the terminal driver for the width.
75 A startup list of commands read by
80 A user's login directory, set by
82 from the password file
85 This variable configures all programs which use
87 to use the specified locale unless the
91 Overrides the values of
101 Locale to be used for ordering of strings.
103 Locale to be used for character classification
104 (letter, space, digit, etc.) and for interpreting byte sequences as
105 multibyte characters.
107 Locale to be used for diagnostic messages.
109 Locale to be used for interpreting monetary input
110 and formatting output.
112 Locale to be used for interpreting numeric input and
115 Locale to be used for interpreting dates input and
116 for formatting output.
118 The location of the user's
119 mailbox instead of the default in /var/mail,
123 and many other mail clients.
125 List of directories to be searched for the message catalog referred to by
130 Default paginator program.
131 The program specified by this variable is used by
135 etc, to display information which is longer than the current display.
137 The sequence of directories, separated by colons, searched by
142 etc, when looking for an executable file.
144 is set to ``/usr/bin:/bin'' initially by
147 The name of the default printer to be used by
153 The current directory pathname.
155 The full pathname of the user's login shell.
157 The kind of terminal for which output is to be prepared.
158 This information is used by commands, such as
162 which may exploit special terminal capabilities.
164 .Pa /usr/share/misc/termcap
166 for a list of terminal types.
168 The string describing the terminal in
171 it begins with a '/', the name of the termcap file.
177 A sequence of pathnames of termcap files, separated by colons or spaces,
178 which are searched for terminal descriptions in the order listed.
185 .Dq Pa $HOME/.termcap:/etc/termcap .
189 contains a full pathname.
191 The directory in which to store temporary files.
192 Most applications use either
196 Setting this variable will make them use another directory.
198 The timezone to use when displaying dates.
199 The normal format is a pathname relative to
200 .Dq Pa /usr/share/zoneinfo .
201 For example, the command
202 .Dq env TZ=America/Los_Angeles date
203 displays the current time in California.
206 for more information.
208 The login name of the user.
211 Further names may be placed in the environment by the
221 It is unwise to change certain
223 variables that are frequently exported by
231 unless you know what you are doing.
233 The current environment variables can be printed with
267 manual page appeared in