printenv(1B) SunOS/BSD Compatibility Package Commands printenv(1B)NAMEprintenv - display environment variables currently set
SYNOPSIS
/usr/ucb/printenv [variable]
DESCRIPTIONprintenv prints out the values of the variables in the environment. If
a variable is specified, only its value is printed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │compatibility/ucb │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOcsh(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.
SunOS 5.11 14 Sep 1992 printenv(1B)