printenv(1)printenv(1)Nameprintenv - display value of a shell variable
Syntaxprintenv [name]
Description
The command prints out the values of the variables in the environment.
If a name is specified, only its value is printed.
If a name is specified and it is not defined in the environment,
returns exit status 1, else it returns status 0.
See Alsocsh(1), environ(7), sh(1)printenv(1)