Uname is the short name for unix name. Just type uname
in console to get information about your operating system.
uname [OPTION]
If no OPTION is specified, uname
assumes the -s
option.
-a
or --all
- Prints all information, omitting -p
and -i
if the information is unknown.
> uname -a
SunOS hope 5.7 Generic_106541-08 sun4m sparc SUNW,SPARCstation-10
All the options:
-s, --kernel-name | Print the kernel name. |
-n, --nodename | Print the network node hostname. |
-r, --kernel-release | Print the kernel release. |
-v, --kernel-version | Print the kernel version. |
-m, --machine | Print the machine hardware name. |
-p, --processor | Print the processor type, or "unknown". |
-i, --hardware-platform | Print the hardware platform, or "unknown". |
-o, --operating-system | Print the operating system. |
--help | Display a help message, and exit. |
--version | Display version information, and exit. |