PRINTENV(1) OpenBSD Reference Manual PRINTENV(1)NAME
printenv - print out the environment
SYNOPSIS
printenv [name]
DESCRIPTION
printenv prints out the names and values of the variables in the
environment, with one name/value pair per line. If name is specified,
only its value is printed.
EXIT STATUS
If a name is specified and it is not defined in the environment, printenv
returns exit status 1, else it returns status 0.
SEE ALSOcsh(1), sh(1), environ(7)HISTORY
The printenv command appeared in 3.0BSD.
OpenBSD 4.9 September 3, 2010 OpenBSD 4.9