OS Manuals

/usr/bin/printenv

GNU core utilities

From coreutils 9.12-r7 (os), captured 2026-11-05 by running printenv --help (exit 0). permalink

Also provided by 1 other package version
Usage: /usr/bin/printenv [OPTION] [VARIABLE]...
Print the values of the specified environment VARIABLE(s).
If no VARIABLE is specified, print name and value pairs for them all.

  -0, --null
         end each output line with NUL, not newline
      --help
         display this help and exit
      --version
         output version information and exit

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.

Report bugs to: <bug-coreutils@gnu.org>.
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>
Full documentation <https://www.gnu.org/software/coreutils/printenv>
or available locally via: info '(coreutils) printenv invocation'
Options (3)
OptionDescriptionSource
-0, --nullend each output line with NUL, not newlinehelp + man
--helpdisplay this help and exithelp + man
--versionoutput version information and exithelp + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.