Home > Article > Operation and Maintenance > 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
Method 2: uname -r
Recommended learning: CentOS usage tutorial
[root@yun /]#uname -r 3.10.0-693.2.2e17.x86_64
Method 3: cat /etc/redhat-release
[root@yun /]#cat /etc/redhat-release Centos Linux release 7.4.1702 (Core)
Method 4: cat /proc/version
[root@yun /]#cat /proc/version Linux version 3.10.0-693.2.2.e17 x86_64
Method 5:cat /etc/issue
[root@yun /]#cat /etc/issue Centos release 7.4.1702 Kernel \r on an \m
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!