UNAME(1) | General Commands Manual | UNAME(1) |
uname
— print
operating system name
uname |
[-amnprsv ] |
The uname
utility writes symbols
representing one or more system characteristics to the standard output.
The options are as follows:
-a
-mnrsv
were
specified.-m
-n
-p
-r
-s
-v
If no options are specified, uname
prints
the operating system name as if the -s
option had
been specified.
The uname
utility exits 0 on
success, and >0 if an error occurs.
The uname
utility is compliant with the
IEEE Std 1003.1-2008 (“POSIX.1”)
specification.
The flag [-p
] is an extension to that
specification.
The uname
command appeared in
4.4BSD.
October 21, 2011 | OpenBSD-6.1 |