UNAME(1) BSD Reference Manual UNAME(1)NAMEuname - display information about the system
SYNOPSISuname [-amnrsv]
DESCRIPTION
The uname command writes various system-identifying attributes to stan-
dard output. By default, uname writes the name of the operating system.
The options are as follows:
-a Behave as though all the other options were specified.
-m Print the name of the current hardware platform (the machine or
CPU type).
-n Print the ``node name'' (the host name).
-r Print the current release level of the operating system.
-s Print the name of the operating system implementation.
-v Print the version string for this release of the operating sys-
tem. This may contain embedded blanks.
When more than one item is printed, the order used is operating system
name, node name, release, version number, and machine type, and all out-
put is written on a single line, separated by spaces.
The uname utility exits 0 on success, and >0 if an error occurs.
SEE ALSOsysctl(8), sysctl(3), uname(3)HISTORY
The uname command appeared in 4.4BSD.
STANDARDS
The uname command is expected to conform to the IEEE Std1003.2
(``POSIX'') specification.
BSDI BSD/OS April 8, 1994 1