CentOS7.1.1503 View version information

Source: Internet
Author: User
[Root @ localhost ~] # Cat/etc/OS-releaseNAME = & quot; CentOSLinux & quot; VERSION = & quot; 7 (Core) & quot; [root @ localhost ~] # Cat/etc/redhat-releaseCentOSLinux

[Root @ localhost ~] # Cat/etc/OS-release

NAME = "CentOS Linux"

VERSION = "7 (Core )"

 

[Root @ localhost ~] # Cat/etc/redhat-release

CentOS Linux release 7.1.1503 (Core)

[Root @ localhost ~] #

 

[Root @ localhost ~] # Rpm-q centos-release

Centos-release-7-1.1503.el7.centos.2.8.x86_64

[Root @ localhost ~] #

 

[Root @ localhost ~] # Uname-

Linux localhost. localdomain 3.10.0-229. el7.x86 _ 64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[Root @ localhost ~] #

 

[Root @ localhost ~] # Cat/proc/version

Linux version 3.10.0-229. el7.x86 _ 64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) #1 SMP Fri Mar 6 11:36:42 UTC 2015

[Root @ localhost ~] #

 

[Root @ localhost ~] # Cat/etc/issue

\ S

Kernel \ r on an \ m

 

[Root @ localhost ~] #

 

[Root @ localhost ~] # File/bin/ls

/Bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, buildID [sha1] = 0xec333a424e045327c5e3d0ca6dda16c610a210f3, stripped

[Root @ localhost ~] #

 

// LSB --- Linux Standard Base

  #yum install redhat-lsb

[Root @ localhost yum. repos. d] # lsb_release-

LSB Version: core-4.1-amd64: core-4.1-noarch: cxx-4.1-amd64: cxx-4.1-noarch: desktop-4.1-amd64: desktop-4.1-noarch: languages-4.1-amd64: languages-4.1-noarch: printing-4.1-amd64: printing-4.1-noarch

Distributor ID: CentOS

Description: CentOS Linux release 7.1.1503 (Core)

Release: 7.1.1503

Codename: Core

[Root @ localhost yum. repos. d] #

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.