Skip Navigation Links | |
Exit Print View | |
man pages section 1: User Commands Oracle Solaris 11.1 Information Library |
- display environment variables currently set
/usr/ucb/printenv [variable]
printenv prints out the values of the variables in the environment. If a variable is specified, only its value is printed.
See attributes(5) for descriptions of the following attributes:
|
csh(1), echo(1), sh(1), stty(1), tset(1B), attributes(5), environ(5)
If a variable is specified and it is not defined in the environment, printenv returns an exit status of 1.