CentOS system uses commands to query version information

Source: Internet
Author: User

First, the query system version information

①[[email protected] ~]# cat/etc/issue

CentOS Release 6.6 (Final)

Kernel \ r on an \m


②[[email protected] ~]# Rpm-qa | grep centos-release
Centos-release-6-6.el6.centos.12.2.x86_64


③[[email protected] ~]# cat/etc/centos-release
CentOS Release 6.6 (Final)


Second, the query system kernel information
[Email protected] ~]# uname-a
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT. i686 i686 i386 Gnu/linux


Third, query the CentOS and redhat version of the corresponding information

[Email protected] ~]# cat/proc/version
Linux version 2.6.32-504.el6.x86_64 ([email protected]) (GCC version 4.4.7 20120313 (Red Hat 4.4.7-11) (gcc)) #1 SMP Wed Oct 04:27:16 UTC 2014




This article is from the "7059546" blog, please be sure to keep this source http://7069546.blog.51cto.com/7059546/1750877

CentOS system uses commands to query version information

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.