How to view version information under Linux, including the number of bits, version information and CPU core information, CPU specific models, etc., the entire CPU information at a glance.
1. # uname-a (Linux view version current operating system kernel information)
Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 17:54:28 EST 2003 i686 Athlon i386 Gnu/linux
2. # cat/proc/version (Linux view current operating system version information)
Linux version 2.4.20-8 ([email protected])
(gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 17:54:28 EST 2003
3, # Cat/etc/issue or Cat/etc/redhat-release (Linux view version current operating system release information)
Red Hat Linux Release 9 (shrike)
4, # Cat/proc/cpuinfo (Linux view CPU-related information, including model, frequency, core information, etc.)
Uname-a: Displays the system name, the node name, the operating system's release number, the operating system version, the machine ID number of the running system
Print certain system information. With no OPTION, same as-s.
-A,--all print all information, in the following order,
Except Omit-p and-i if unknown:
-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 this Help and exit
--version output version information and exit
Report Bugs to <[email protected].
[email protected]:~/workspace/active/appplatform/bin> Uname-n
Msf-xwezhl1
[email protected]:~/workspace/active/appplatform/bin> uname-a
Linux msf-xwezhl1 2.6.27.37-0.1-pae #1 SMP 2009-10-15 14:56:58 +0200 i686 i686 i386 gnu/linux
[email protected]:~/workspace/active/appplatform/bin> uname-s
Linux
[email protected]:~/workspace/active/appplatform/bin> Uname-r
2.6.27.37-0.1-pae
[email protected]:~/workspace/active/appplatform/bin> uname-v
#1 SMP 2009-10-15 14:56:58 +0200
[email protected]:~/workspace/active/appplatform/bin> uname-m
i686
[email protected]:~/workspace/active/appplatform/bin> uname-p
i686
[email protected]:~/workspace/active/appplatform/bin> Uname-i
I386
[email protected]:~/workspace/active/appplatform/bin> Uname-o
Gnu/linux
Linux Learning Note (iii)-View a summary of the Linux version system information methods