List the names and values of all environment variables or, with VARIABLE, the value of the environment variable name.
Syntax printenv [OPTION]... [VARIABLE]... Key VARIABLE The name of the environment variable. -0, --null End each output line with 0 byte rather than newline. --help Display this help and exit --version Output version information and exit
“Everything you read in newspapers is absolutely true, except for that rare story of which you happen to have first-hand knowledge” ~ Erwin Knoll
Equivalent Windows command: SET - comment