Manual page for ENVIRON(7)
environ - user environment
extern char **environ;
An array of strings called the ``environment'' is made available by
when a process begins.
By convention these strings have the form
The following names are used by various commands:
The sequence of directory prefixes that
in searching for a file known by an incomplete path name.
The prefixes are separated by ``:''.
A user's login directory,
set at login time
from the password file
The kind of terminal for which output is to be prepared.
This information is used by commands
which may exploit special terminal capabilities.
for a list of terminal types.
The file name of the user's application,
typically a shell,
to service command line requests.
The string describing the terminal in TERM,
or the name of the termcap file, see
A startup list of commands read by
The name of the user.
Further names may be placed in the environment by the
command and ``name=value'' assignments in
or by the
command if you use
A default printer specified by
will not be read by the NeXT line printer family of commands,
though it is valid in many other versions of UNIX.
The easiest way
to specify a default printer
is to call up the print panel
and click on the chosen printer name.
Another way is through the
Arguments may also be placed in the environment
at the point of an
It is unwise to conflict with certain
variables frequently exported by ``.profile'' files:
MAIL, PS1, PS2, IFS.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97