PRINTENV(1B) BSD Compatibility Package Commands PRINTENV(1B)


NAME


printenv - display environment variables currently set

SYNOPSIS


/usr/ucb/printenv [variable]


DESCRIPTION


printenv prints out the values of the variables in the environment. If a
variable is specified, only its value is printed.

SEE ALSO


csh(1), echo(1), sh(1), stty(1), tset(1B), attributes(5), environ(5)

DIAGNOSTICS


If a variable is specified and it is not defined in the environment,
printenv returns an exit status of 1.


September 14, 1992 PRINTENV(1B)