View Linux kernel version and system version information

First, see Linux kernel version command (2 methods)
1,
View Linux kernel version and system version information
2, uname -a
View Linux kernel version and system version information

Second, view the version of Linux system command (3 methods)
1, lsb_release -a
View Linux kernel version and system version information
after the test found that the command applies to Centos, Ubuntu. Without this command in redhat.

2, cat / etc / redhat-release, this method is only suitable system Linux Redhat
View Linux kernel version and system version information

3, cat / etc / issue, Centos, Redhat General
View Linux kernel version and system version information

Guess you like

Origin blog.51cto.com/14013172/2459127