Linux Version number view brief
1. uname command [[email protected] /]# uname --help Usage: uname [options] ... Outputs a set of system information. If you do not follow the option, you are considered to be attaching only the-s option. -a, --all output All information in the following order. If the detection results of-p and-i are not known, they are omitted: -s, --kernel-name output kernel name -n, -- NodeName the hostname on the output network node -r, --kernel-release output kernel release number -v, --kernel-version output kernel version -m, --machine the hardware schema name of the output host -p, --processor the output processor type or the "Unknown" -i, --hardware-platform Output hardware platform or "unknown" -o, --operating-system output operating system name    --HELP Display this Help information and exit --version display version information and exit 1.1, [[email protected] /]# uname -r View the kernel release version number 3.10.0-327.el7.x86_641.2, [[ email protected] /]# uname -a View all Parameters LINUX FNW 3.10.0-327.el7.x86_64 #1 smp thu nov 19 22:10:57 utc 2015 X86_64 X86_64 X86_64 GNU/LINUX2, [[email protected] /]# cat /etc/ redhat-release centos linux release 7.2.1511 (Core) 3, [[email protected] /]# rpm -q centos-release (redhat-release) centos-release-7-2.1511.el7.centos.2.10.x86_644, [[Email protected] /]# cat /proc/versionLinux version 3.10.0-327.el7.x86_64 ([email protected]) (gcc version 4.8.3 20140911 (red hat 4.8.3-9) (GCC) ) #1 smp thu nov 19 22:10:57 utc 2015
This article is from the "Cowboy" blog, make sure to keep this source http://fangniuwa.blog.51cto.com/10209030/1757776
CentOS7.2 Linux Kernel version View brief