Method 1
For Linux systems, there are hundreds of distributions. For release version number View method
Take CentOS for example. Input lsb_release-a can be
This command applies to all Linux, including Redhat, SuSE, Debian, and other distributions
- 2
Method 2
If, for example, this command is not
You can view Cat/etc/xxx-release xx as the release name. such as centos-release
- 3
Method 3.
You can also view the release version number by viewing the /etc/issue file
END
Viewing the system kernel version
- 1
For different distributions, many versions of the kernel are the same. Specific viewing methods
Method 1
Uname-r viewing the System kernel version
As 2.6.32-358.el6.x86_64 indicates that the latest kernel is 2.6.32
- 2
Method 2
By looking at the kernel version number file, such as More/proc/version
END
Other Operating System Information
- 1
View the number of system bits
Also for Linux systems there are 32 and 64-bit points
Using the above view kernel method, enter
Uname-a or More/proc/version
There's a x86_64 behind the kernel version that means 64 is the system.
- 2
Yum Update version Query
In addition, for systems that use the Yum update, you can also view the system version number that is currently being updated by entering yum info . As the latest 3.e16
END
Precautions
- This experience takes CentOS as an example, and Redhat is the same. Other Debian may be different, refer to the relevant instructions
View the version of the Linux system to see the number of bits on the Linux system