printenv(1) DG/UX 4.30 printenv(1)
NAME
printenv - print out the environment
SYNOPSIS
printenv [ name ]
DESCRIPTION
Printenv prints out the values of the variables in the
environment. If a name is specified, only its value is
printed.
Examples of the environment variable names are:
HOME path name of user's home directory
PATH search path for binary programs
TERM type of terminal used
If a name is specified and it is not defined in the
environment, printenv returns exit status 1, else it returns
status 0.
EXAMPLES
$ printenv
EXINIT=set number showmode redraw
HOME=/udd/sdd08/intern
LOGNAME=intern
MAIL=/usr/mail/intern
PATH=:/udd/sdd08/intern/util:/bin:/usr/bin:/etc:/usr/local
TERM=605x
$
This command prints out the values in the invoking process's
environment.
SEE ALSO
sh(1), environ(5), csh(1)
Licensed material--property of copyright holder(s) Page 1