printenv(1) DG/UX R4.11MU05 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 pathname 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=d216-dg
$
This command prints out the values in the invoking process's
environment.
SEE ALSO
csh(1), sh(1), environ(5).
Licensed material--property of copyright holder(s)