Home  >  Article  >  Operation and Maintenance  >  How to check version command in linux

How to check version command in linux

hzc
hzcOriginal
2020-06-09 16:15:1415538browse

How to check version command in linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn