Get the App
SLTechnology News&Howtos  ›  Development  › 

How does linux view the current system version

Shulou Source: shulou.com Published: 2022-06-01 05:13:05 11月14日 Update

This article mainly introduces linux how to view the current system version, the article is very detailed, has a certain reference value, interested friends must read it!

View the current system version

You may often use the following methods to check the version of the system:

[root@sta ~] # cat / etc/issue CentOS release 6.8 (Final) Kernel\ r on an\ m [root@sta ~] # cat / etc/redhat-release CentOS release 6.8 (Final) [root@sta ~] # cat / etc/issue.net CentOS release 6.8 (Final) Kernel\ r on an\ m

However, these files may expose the information of the system, generally empty the files, or such files may be tampered with. Then use the following command, which is probably the most accurate command to view version information:

After the CentOS installation is completed, a centos-release+ version number of the rpm package is installed by default.

The above is all the contents of the article "how to check the current system version of linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Version system document information content command article value interest guy partner method more knowledge industry information information channel face channel reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Information Redmi OPPO Reno MySQL