The method of Linux checking version command is:
1, # uname -a (Linux checking version current operating system kernel information)
2, # cat /proc/version (Linux to view the current operating system version information)
3, # cat /etc/issue or cat /etc/redhat-release (Linux to view the version of the current operating system) Release version information)
4, # cat /proc/cpuinfo (Linux to view cpu related information, including model, main frequency, kernel information, etc.)
5, # getconf LONG_BIT (Linux to view the version How many digits)
6, # lsb_release -a (CentOS 6.9 version requires lsb to be installed, CentOS 7.0 and above can be used directly. It is said on the Internet that Linux supports it. I have only verified the CentOS system)
Recommended tutorial: "linux tutorial"
The above is the detailed content of How to check version command in linux. For more information, please follow other related articles on the PHP Chinese website!