The command is as follows:
uname -a
Display computer and operating system related information
cat /proc/version
(Video tutorial recommendation: linux video tutorial )
Display the running kernel version
cat /etc/issue
or
cat /etc/redhat-release
View the current operating system release information
lsb_release -a
Applicable to all Linux, including Redhat, SuSE, Debian and other distributions, but under Debian you need to install lsb
cat /proc/cpuinfo
to view cpu related information, including model, main frequency, kernel information, etc.
Recommended tutorial: linux tutorial
The above is the detailed content of How to check linux system version. For more information, please follow other related articles on the PHP Chinese website!