NAME
uname —
print operating system name
SYNOPSIS
uname |
[-amnprsv] |
DESCRIPTION
The uname utility writes symbols
representing one or more system characteristics to the standard output.
The options are as follows:
-a- Behave as though all of the options
-mnrsvwere specified. -m- Print the machine hardware name.
-n- Print the nodename (the nodename may be a name that the system is known by to a communications network).
-p- Print the machine processor architecture name.
-r- Print the operating system release.
-s- Print the operating system name.
-v- Print the operating system version.
If no options are specified, uname prints
the operating system name as if the -s option had
been specified.
EXIT STATUS
The uname utility exits 0 on
success, and >0 if an error occurs.
SEE ALSO
STANDARDS
The uname utility is compliant with the
IEEE Std 1003.1-2008 (“POSIX.1”)
specification.
The flag [-p] is an extension to that
specification.
HISTORY
The uname command appeared in
4.4BSD.