BSD 3 development
[unix-history] / usr / man / man1 / printenv.1
CommitLineData
5caf28b2
BJ
1.TH PRINTENV 1 2/24/79
2.UC
3.SH NAME
4printenv \- print out the environment
5.SH SYNOPSIS
6.B printenv
7[ name ]
8.SH DESCRIPTION
9.I Printenv
10prints out the values of the variables in the environment.
11If a
12.I name
13is specified, only its
14value is printed.
15.PP
16If a
17.I name
18is specified and it is not defined in the environment,
19.I printenv
20returns exit status 1, else it returns status 0.
21.SH SEE ALSO
22sh(1), environ(5), csh(1)
23.SH BUGS