Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ uname(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

uname(S)


 uname(C)                      06 January 1993                       uname(C)


 Name

    uname - print the name of the current system

 Syntax

    uname [ -snrvmaAX ]

    uname [ -S system name ]

 Description

    The uname command prints the current system name of the UNIX system on
    the standard output file.  It is mainly useful to determine which system
    you are using.  The options cause selected information returned by
    uname(S) to be printed:

    -s   print system name (default).

    -n   print nodename. The nodename is the name by which the system is
         known to a communications network.

    -r   print the operating system release.

    -v   print the operating system version. (This is the AT&T sub-version
         number of System V Release 3.2, and always displays ``2'' under SCO
         UNIX System V. To determine the SCO version number, examine the line
         beginning ``Release = '' in the output from uname using the -X
         option.)

    -m   print the machine hardware name.

    -a   print all the above information.

    -A   print the license field (activation state) information.

    -X   prints information about system name, node name, operating system
         release number, kernel ID, processor type, bus type, serial number,
         number of users licence (2-user, 8-user or unlimited), OEM number,
         origin number, and number of CPUs.

    -S system name
         On your computer, the system name and the nodename may be changed by
         specifying a system name argument to the -S option.  (The system
         name and the nodename will both be changed to the name you specify.)
         The system name argument is restricted to 8 characters.  Only the
         super user is allowed this capability.

 See also

    uname(S)

 Standards conformance

    uname is conformant with:

    AT&T SVID Issue 2;
    and X/Open Portability Guide, Issue 3, 1989.


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