GNU Info

Info Node: (sh-utils.info)printenv invocation

(sh-utils.info)printenv invocation


Next: tty invocation Prev: stty invocation Up: Working context
Enter node , (file) or (file)node

`printenv': Print all or some environment variables
===================================================

   `printenv' prints environment variable values.  Synopsis:

     printenv [OPTION] [VARIABLE]...

   If no VARIABLEs are specified, `printenv' prints the value of every
environment variable.  Otherwise, it prints the value of each VARIABLE
that is set, and nothing for those that are not set.

   The only options are a lone `--help' or `--version'.  Note: Common
options.

   Exit status:

     0 if all variables specified were found
     1 if at least one specified variable was not found
     2 if a write error occurred


automatically generated by info2www version 1.2.2.9