Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ printenv(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                              printenv(1)



        _________________________________________________________________
        printenv                                                  Command
        print out the environment
        _________________________________________________________________


        SYNTAX

        printenv [ name ]


        DESCRIPTION

        Printenv prints out the values of the variables in the
        environment.  If a name is specified, only its value is printed.

        Examples of the environment variable names are:

        HOME path name of user's home directory

        PATH search path for binary programs

        TERM type of terminal used

        If a name is specified and it is not defined in the environment,
        printenv returns exit status 1, else it returns status 0.



        _________________________________________________________________
        EXAMPLES

        $ printenv
        EXINIT=set number showmode redraw
        HOME=/udd/sdd08/intern
        LOGNAME=intern
        MAIL=/usr/mail/intern
        PATH=:/udd/sdd08/intern/util:/bin:/usr/bin:/etc:/usr/local
        TERM=605x
        $

        This command prints out the values in the invoking process's
        environment.
        _________________________________________________________________


        SEE ALSO

        sh(1), environ(5), csh(1)





        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026