2015-01-31 18:23:38 -05:00
|
|
|
.Dd January 31, 2015
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt PRINTENV 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2015-01-30 17:25:12 -05:00
|
|
|
.Sh NAME
|
|
|
|
.Nm printenv
|
2015-01-31 18:23:38 -05:00
|
|
|
.Nd print the environment or values of variables
|
2015-01-30 17:25:12 -05:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Ar var ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-01-31 18:23:38 -05:00
|
|
|
prints the entire environment as key=value pairs if no
|
2015-01-30 17:25:12 -05:00
|
|
|
.Ar var
|
2015-01-31 18:23:38 -05:00
|
|
|
is given. Otherwise,
|
2015-01-30 17:25:12 -05:00
|
|
|
.Nm
|
2015-01-31 18:23:38 -05:00
|
|
|
prints only the value of each
|
|
|
|
.Ar var
|
|
|
|
one per line in the order specified.
|
2015-01-30 17:25:12 -05:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr env 1
|