How does linux view the current system version
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!