Linux "printenv" Command Line Options and Examples
print all or part of environment

Print the values of the specified environment VARIABLE(s). If no VARIABLE is specified, print name and value pairs for them all.


Usage:

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




Command Line Options:

-0
end each output line with NUL, not newline
printenv -0 ...
--help
display this help and exit
printenv --help ...
--version
output version information and exitNOTE: your shell may have its own version of printenv, which usually supersedes the version described here.Please refer to your shell's documentation for details about the options it supports.AUTHORWritten by David MacKenzie and Richard Mlynarik.REPORTING BUGSGNU coreutils online help: <http://www.gnu.org/software/coreutils/>Report printenv translation bugs to <http://translationproject.org/team/>COPYRIGHTCopyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent per‐mitted by law.
printenv --version ...