Function Description: Uname is used to get information about the computer and the operating system.
Syntax: uname [-amnrsvpio][--help][--version]
Supplemental Note: uname can display basic information such as the version of the operating system used by the Linux host, the name of the hardware.
Parameters:
-A or –all verbose output all information, followed by kernel name, hostname, kernel version number, kernel version, hardware name, processor type, hardware platform type, operating system name
-M or –machine displays the hardware (CPU) name of the host
-N or-nodename displays the name or host name of the host on the network node
-R or –release display Linux OS kernel version number
-S or –sysname displays the Linux kernel name
-V display shows the version of the operating system
-P display processor type or unknown
-I display hardware platform type or unknown
-O Display Operating system name
Help Get Help information
–version Display uname version information
Example:
i2000:~ # uname-alinux i2000 3.0.101-0.47.52-default #1 SMP Thu Mar 10:55:49 UTC (0e3c7c8) x86_64 x86_64 x86_64 G Nu/linux
which
Kernel Name: Linux
Host Name: i2000
Kernel version number: 3.0.101-0.47.52-default
Kernel version: #1 SMP Thu Mar 10:55:49 UTC (0E3C7C8)
Hardware name: x86_64
Processor type: x86_64
Hardware platform type: x86_64
Operating system name: Gnu/linux
"Linux Command" uname