man(1) Manual page archive


     PRINTENV(1)                                           PRINTENV(1)

     NAME
          printenv - print environment

     SYNOPSIS
          printenv [ name ]

     DESCRIPTION
          With no arguments, printenv places the strings of the envi-
          ronment, described in environ(5), on the standard output one
          per line.

          If a name is specified, its value is retrieved from the
          environment and printed.

     SEE ALSO
          sh(1), rc(1), environ(5), getenv(3)

     DIAGNOSTICS
          Exit status 1 is returned when a specified name is not pre-
          sent in the environment.

     BUGS
          The name feature cannot handle functions.