Manual page for uname(1)
uname - print name of current system
prints information about the current system
on the standard output.
When options are specified, symbols
representing one or more system characteristics will be
written to the standard output.
If no options are specified,
prints the current operating system's name.
The options print selected information returned by
The following options are supported:
Print all information.
Print the name of the hardware implementation (platform).
Print the machine hardware name (class).
Print the nodename (the nodename is the name by which the system is known
to a communications network).
Print the current host's processor type.
Print the operating system release.
Print the name of the operating system.
This is the default.
Print the operating system version.
- -S system_name
The nodename may be changed by specifying a system name argument.
The system name argument is restricted to
is an implementation specific value defined in
Only the super-user is allowed this capability.
The following command:
writes the operating system name and release level, separated by one
example% uname -sr
for descriptions of the following environment variables that affect the
The following exit values are returned:
The requested information was successfully written.
An error occurred.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97