|
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
PRINTENV(1) BSD General Commands Manual PRINTENV(1)
NAME
printenv -- print out the environment
SYNOPSIS
printenv [name]
DESCRIPTION
printenv 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.
If a name is specified and it is not defined in the environment, printenv returns exit status 1, else
it returns status 0.
SEE ALSO
csh(1), sh(1), environ(7)
HISTORY
The printenv command appeared in 3.0BSD.
BSD June 6, 1993 BSD
|
|