1PRINTENV(1) User Commands PRINTENV(1)
2
3
4
6 printenv - print all or part of environment
7
9 printenv [OPTION]... [VARIABLE]...
10
12 Print the values of the specified environment VARIABLE(s). If no VARI‐
13 ABLE is specified, print name and value pairs for them all.
14
15 -0, --null
16 end each output line with NUL, not newline
17
18 --help display this help and exit
19
20 --version
21 output version information and exit
22
23 NOTE: your shell may have its own version of printenv, which usually
24 supersedes the version described here. Please refer to your shell's
25 documentation for details about the options it supports.
26
28 Written by David MacKenzie and Richard Mlynarik.
29
31 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
32 Report printenv translation bugs to <https://translationpro‐
33 ject.org/team/>
34
36 Copyright © 2018 Free Software Foundation, Inc. License GPLv3+: GNU
37 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
38 This is free software: you are free to change and redistribute it.
39 There is NO WARRANTY, to the extent permitted by law.
40
42 Full documentation at: <https://www.gnu.org/software/coreutils/print‐
43 env>
44 or available locally via: info '(coreutils) printenv invocation'
45
46
47
48GNU coreutils 8.30 July 2018 PRINTENV(1)