Function Description: Uname is used to get information about the computer and 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, and the name of the hardware.
Parameters
-A or –all all information in detail, followed by kernel name, host name, kernel version number, kernel version, hardware name, processor type, hardware platform type, operating system name
-M or –machine display 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 displays the Linux OS kernel version number
-S or –sysname display Linux kernel name
-V Display the operating system is the first version
-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
Uname Use Example:
[Root@localhost ~]# uname
Linux
Note: Using the uname command alone is equivalent to Uname-s
[Root@localhost ~]# Uname-a
Linux localhost 2.6.18-4-686 #1 SMP Mon Mar 17:17:36 UTC 2007 i686 Gnu/linux
[Root@localhost ~]# Uname-m
i686
[Root@localhost ~]# Uname-n
localhost
[Root@localhost ~]# Uname-r
2.6.18-4-686
[Root@localhost ~]# Uname-s
Linux
[Root@localhost ~]# Uname-v
#1 SMP Mon Mar 17:17:36 UTC 2007
[Root@localhost ~]# Uname-p
i686
[Root@localhost ~]# Uname-i
I386
[Root@localhost ~]# Uname-o
Gnu/linux
[Root@localhost ~]# Uname–version
Uname (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. Your may redistribute copies of it under the terms of
The GNU general public License There is NO WARRANTY and to the extent permitted by.