Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ uname(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                 uname(1)



        _________________________________________________________________
        uname                                                     Command
        print name of current DGUX system
        _________________________________________________________________


        SYNTAX

        uname [ -snrvma ]


        DESCRIPTION

        Uname prints the current system name of the DGUX system on the
        standard output file.  It is mainly useful to determine which
        system you are using.  The options print selected information
        returned by uname(2):

        -s   Print the system name (default).

        -n   Print the nodename (the nodename may be a name that the
             system is known by to a communications network).

        -r   Print the operating system release.

        -v   Print the operating system version.

        -m   Print the machine hardware name.

        -a   Print all the above information.



        _________________________________________________________________
        EXAMPLES

        $ uname
        dgux
        $

        Prints the system name on the standard output.

        $ uname -a
        dgux sys08 4.00 4.00 MV4000
        $

        Prints the system name, the nodename, the operating system
        release, the operating system version and the machine hardware
        name on the standard output.

        $ PS1=`uname`; export=PS1



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





                                                                 uname(1)



        Sets the primary shell prompt to the name of the system and makes
        the new value of the variable available to all the shells that
        you initiate.
        _________________________________________________________________


        SEE ALSO

        uname(2) in the Programmer's Reference for the DG/UX System













































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



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