printenv1
Print out the environment
Usage
printenv [name]
Overview
The printenv utility prints out the names and values of the variables in the environment, with one name/value pair per line. If name is specified, only its value is printed.
Some shells may provide a builtin printenv command which is similar or identical to this utility. Consult the builtin(1) manual page.
Exit status
The printenv utility exits 0 on success, and >0 if an error occurs.
Releases
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 42 times.
- 2.0.5–2.2.2
- 2.2.5–3.5.1
- 4.0
- 4.1–4.2
- 4.3
- 4.4–4.6.2
- 4.7–4.11
- 5.0–5.1
- 5.2–5.5
- 6.0–6.3
- 6.4
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 9.0
- 9.1
- 9.2
- 9.3
- 10.0
- 10.1
- 10.2
- 10.3
- 10.4
- 11.0
- 11.1
- 11.2
- 11.3
- 11.4
- 12.0
- 12.1
- 12.2
- 12.3
- 12.4
- 13.0–13.2
- 13.3–14.5
- 15.0–16.0
- until FreeBSD 4.11-RELEASE;
-i until FreeBSD 5.1-RELEASE.