printenv1
Print out the environment
Usage
printenv [name]
Overview
The printenv utility 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.
Some shells may provide a builtin printenv command which is similar or identical to this utility. Consult the builtin(1) manual page.
Exit status
The printenv utility exits 0 on success, and >0 if an error occurs.
Releases
163 releases since Mac OS X 10.0; the text changed 2 times.