1. view the kernel version command: [root @ server1Desktop] # cat/proc/versionLinuxversion2.6.32-358. el6.x86 _ 64 (mockbuild@c6b8.bsys.dev.centos.org) (gccversion4.4.720120313 (RedHat4.4.7-3) (GCC)
1. run the following command to view the kernel version: [Root @ server1 Desktop] # cat/proc/version Linux version 2.6.32-358. el6.x86 _ 64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) #1 SMP Fri Feb 22 00:31:26 UTC 2013[Root @ server1 Desktop] # uname-
Linux server1.org 2.6.32-358. el6.x86 _ 64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root @ server1 Desktop] # uname-r
2.6.5-7.244-smp
2. view the Linux version:1) log on to the server and execute lsb_release-a to list all version information, for example:[Root @ server1 Desktop] # lsb_release-
LSB Version: core-2.0-noarch: core-3.0-noarch: core-2.0-ia32: core-3.0-ia32: graphics-2.0-ia32: graphics-2.0-noarch: graphics-3.0-ia32: graphics-3.0-noarch:
Distributor ID: SUSE LINUX
Description: suse linux Enterprise Server 9 (i586)
Release: 9
Codename: n/
Note: this command applies to all linux releases, including Redhat, SuSE, and Debian.2) log on to linux and run cat/etc/issue, for example:[Root @ server1 Desktop] # cat/etc/issue
Welcome to suse linux Enterprise Server 9 (i586)-Kernel \ r (\ l ).3) log on to linux and run cat/etc/redhat-release, for example:[Root @ server1 Desktop] # cat/etc/* release *
CentOS release 6.4 (Final)
LSB_VERSION = base-4.0-amd64: base-4.0-noarch: core-4.0-amd64: core-4.0-noarch: graphics-4.0-amd64: graphics-4.0-noarch: printing-4.0-amd64: printing-4.0-noarch
Cat:/etc/lsb-release.d: Is a directory
CentOS release 6.4 (Final)
CentOS release 6.4 (Final)
Cpe:/o: centos: linux: 6: GA
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.