1printenv(1B) SunOS/BSD Compatibility Package Commands printenv(1B)
2
3
4
6 printenv - display environment variables currently set
7
9 /usr/ucb/printenv [variable]
10
11
13 printenv prints out the values of the variables in the environment. If
14 a variable is specified, only its value is printed.
15
17 See attributes(5) for descriptions of the following attributes:
18
19
20
21
22 ┌─────────────────────────────┬─────────────────────────────┐
23 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
24 ├─────────────────────────────┼─────────────────────────────┤
25 │Availability │SUNWscpu │
26 └─────────────────────────────┴─────────────────────────────┘
27
29 csh(1), echo(1), sh(1), stty(1), tset(1B), attributes(5), environ(5)
30
32 If a variable is specified and it is not defined in the environment,
33 printenv returns an exit status of 1.
34
35
36
37SunOS 5.11 14 Sep 1992 printenv(1B)