Linux Command uname, linuxuname
Uname is a command used to query basic information in linux.
Command Format: uname [Option]
Options include: (if not followed by any options: the default-s option)
-S, -- kernel-name output kernel name
-N, -- nodename: output the host name on the Network Node
-R, -- kernel-release output kernel release number
-V, -- kernel-version output kernel version
-M, -- Name of the hardware architecture of the machine output host
-P, -- processor Output processor type or "unknown"
-I, -- hardware-platform: Output hardware platform or "unknown"
-O, -- operating-system output operating system name
Uname-s:
The command output with various options is as follows:
It is worth mentioning that the uname-r output kernel version number:
2.6.32 is interpreted as "2" as the main version number, and "6" as the minor version number. (If this bit is an odd number, it is the test version. If this bit is an even number, it is the stable output version, and 32 is the number of modifications to this version)
Reprinted by Liu