HP-UX Reference (11i v2 03/08) - 1 User Commands N-Z (vol 2)
p
printenv(1) 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.
RETURN VALUE
If a name is specified and it is not defined in the environment,
printenv returns 1; otherwise it returns
zero.
SEE ALSO
sh(1), environ(5), csh(1).
Section 1−−704 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003