1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" %sccs.include.redist.roff% 5.\" 6.\" @(#)uname.1 8.3 (Berkeley) 04/08/94 7.\" 8.Dd "" 9.Dt UNAME 1 10.Os 11.Sh NAME 12.Nm uname 13.Nd display information about the system 14.Sh SYNOPSIS 15.Nm uname 16.Op Fl amnrsv 17.Sh DESCRIPTION 18The 19.Nm uname 20command writes the name of the operating system implementation to 21standard output. 22When options are specified, strings representing one or more system 23characteristics are written to standard output. 24.Pp 25The options are as follows: 26.Bl -tag -width Ds 27.It Fl a 28Behave as though the options 29.Fl m , 30.Fl n , 31.Fl r , 32.Fl s , 33and 34.Fl v 35were specified. 36.It Fl m 37Write the type of the current hardware platform to standard output. 38.It Fl n 39Write the name of the system to standard output. 40.It Fl r 41Write the current release level of the operating system 42to standard output. 43.It Fl s 44Write the name of the operating system implementation to standard output. 45.It Fl v 46Write the version level of this release of the operating system 47to standard output. 48.El 49.Pp 50If the 51.Fl a 52flag is specified, or multiple flags are specified, all 53output is written on a single line, separated by spaces. 54.Pp 55The 56.Nm uname 57utility exits 0 on success, and >0 if an error occurs. 58.Sh SEE ALSO 59.Xr sysctl 8 , 60.Xr sysctl 3 , 61.Xr uname 3 62.Sh HISTORY 63The 64.Nm uname 65command appeared in 4.4BSD. 66.Sh STANDARDS 67The 68.Nm uname 69command is expected to conform to the 70.St -p1003.2 71specification. 72