Print all or part of the environment.

Synopsis

printenv [OPTION]... [VARIABLE]...

Description

Prints the value of each VARIABLE, or the whole environment if none is given.

Options

--help Display help and exit.

Examples

$ printenv

Print the whole environment.

$ printenv PATH

Print the value of PATH.

See Also

env, export