PRINTENV(1) — Unix Programmer’s Manual
NAME
printenv − list the setting of environment variables
SYNOPSIS
printenv [ var ]
DESCRIPTION
Printenv prints out the values of the variables in the environment. If a variable is specified, only its value is printed.
If a variable is specified and it is not defined in the environment, printenv returns exit status 1; else it returns status 0.
SEE ALSO
3rd Berkeley Distribution — 1 August 1985