PRINTENV(1) — Unix Programmer’s Manual
NAME
printenv − print out the environment
SYNOPSIS
printenv [ name ]
DESCRIPTION
Printenv prints out the values of the variables in the environment. If you specify a variable name, printenv prints only the value of that variable.
If you specify a name that is not defined in the environment, printenv returns exit status 1. Otherwise, it returns status 0.
SEE ALSO
3rd Berkeley Distribution — April 29, 1985