|| FreeBSD General Commands Manual
print out the environment
utility prints out the names and values of the variables in the environment, with one name/value pair per line. If
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.
utility is provided for compatibility with earlier
releases and is not specified by any standards. The functionality of
can be duplicated with the
printenv command appeared in