Tongren how to view the version information of CentOS7

Time: 2019-12-21

View version number

CentOS version number information is generally stored in the configuration file. In CentOS, the configuration file related to its version has the centos keyword. This file is generally stored in the / etc / directory, so we can directly under this folder. Search for related files.

Check the version number of CentOS:

  cat / etc / centos-release 

Query the operating system kernel version information:

  uname -r 

为: Check the operating system digits :

  getconf LONG_BIT 

Execution results of my server


One-stop network service provider with 15 years of Internet industry experience and a mature development team. The company's landline: 0856-5202348 provides a series of high-quality professional services such as WeChat public account development, applet development, and website construction. Guizhou ICP No. 15002016 No.-5