PRINTENV(1) — UNIX Programmer’s Manual
NAME
printenv − print out the environment
SYNOPSIS
printenv
DESCRIPTION
Printenv prints out the values of the variables in the environment.
The environment variable names are:
HOME path name of home directory.
PATH search path for binary programs
TERM type of terminal used
SHELL
the shell present at login.
If a name is specified and it is not defined in the environment, printenv returns exit status 1, else it returns status 0.
EXAMPLE
printenv TERM
tells you what type of terminal you are using, as well as the other defined variables in the environment.
SEE ALSO
7th Edition — 1/26/82