printenv

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

Some shells may provide a builtin printenv command which is similar or identical to this utility.

"Everything you read in newspapers is absolutely true, except for that rare story of which you happen to have first-hand knowledge" ~ Erwin Knoll

Related Linux commands

Equivalent Windows command: SET - comment.

(追記) (追記ここまで)
Copyright © 1999-2026 SS64.com
Some rights reserved

AltStyle によって変換されたページ (->オリジナル) /