*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: uname | Section: 1 | Source: Digital UNIX | File: uname.1.gz
uname(1) General Commands Manual uname(1) NAME uname - Displays information about the operating system SYNOPSIS uname [-amnrsv] uname [-S system-name] The uname command displays system information or sets the system name. STANDARDS Interfaces documented on this reference page conform to industry stan- dards as follows: uname: XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about in- dustry standards and associated tags. OPTIONS Displays all information specified with the -m, -n, -r, -s, and -v op- tions. Displays the type of hardware running the system. Displays the name of the node (this may be a name that the system is known by to a communications network). [DIGITAL] Displays the processor type of the current host. Displays the release number of the operating system. Displays the name of the implementation of the operating system. (This option is on by default.) [DIGITAL] Changes the name of the system to system_name. The system_name argument is restricted to SYS_NMLN charac- ters. The value of SYS_NMLN is implementation specific and is defined in /usr/include/sys/utsname.h. Only users with appropriate privileges can use this option. Displays the operating system version. OPERANDS None DESCRIPTION The uname command writes system information to standard output. This command is used primarily to determine which system you are using. The options cause selected information returned by the uname() call to be displayed. NOTES When the -a option is used, output is displayed in the order: <system> <node> <release> <version> <hardware> When you request information by specifying the individual op- tions, the appropriate information is displayed in the order in- dicated. [DIGITAL] If the -p option is used, processor information is appended to the output line. The output of uname may include embedded blank spaces, so you should use caution when passing the output to parsing algorithms. EXIT STATUS The following exit values are returned: The requested information has been successfully written. An error occurred. EXAMPLES To display the complete system name and version banner, enter: uname -a ENVIRONMENT VARIABLES The following environment variables affect the execution of uname: Pro- vides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization vari- ables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, over- rides the values of all the other internationalization variables. De- termines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi- byte characters in arguments). Determines the locale for the format and contents of diagnostic messages written to standard error. Deter- mines the location of message catalogues for the processing of LC_MES- SAGES. FILES System name information header file. SEE ALSO Functions: uname(2) Standards: standards(5) uname(1)

Navigation Options