Home > Operation and Maintenance > CentOS > How to check centos version

How to check centos version

angryTom
Release: 2020-03-16 17:31:40
Original
3832 people have browsed it

How to check centos version

How to check the centos version

There are several methods:

Method 1: uname -a

[root@yun /]#uname -a
Linux yun 3.10.0-693.2.2e17.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GUN/Linux
Copy after login

Method 2: uname -r

Recommended learning: CentOS usage tutorial

[root@yun /]#uname -r
3.10.0-693.2.2e17.x86_64
Copy after login

Method 3: cat /etc/redhat-release

[root@yun /]#cat /etc/redhat-release
Centos Linux release 7.4.1702 (Core)
Copy after login

Method 4: cat /proc/version

[root@yun /]#cat /proc/version
Linux version 3.10.0-693.2.2.e17 x86_64
Copy after login

Method 5:cat /etc/issue

[root@yun /]#cat /etc/issue
Centos release  7.4.1702
Kernel \r on an \m
Copy after login

Method 6: (This method is suitable for hosts with desktop environments)

System Tools-->Settings--> ;Detailed information-->about

PHP Chinese website, a large number of centOS operation and maintenance tutorials and website construction tutorials, welcome to learn.

The above is the detailed content of How to check centos version. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template