linux系统查看系统版本命令

如题所述

一、查看Linux内核版本命令  

方法一:cat/proc/version

用法:[root@S-CentOS home]# cat /proc/version

方法二:uname-a

用法:[root@S-CentOS home]# uname-a

二、查看Linux系统版本的命令  

方法一:lsb_release -a

用法:[root@S-CentOS ~]# lsb_release -a

注意:使用该命令即可列出所有版本信息,这个命令适用于所有的Linux发行版,包括RedHat、SUSE、Debian等发行版。

方法二:cat /etc/redhat-release

用法:[root@S-CentOS home]# cat /etc/redhat-release

注意:该方法只适合Redhat系的Linux

方法三:cat /etc/issue

用法:[root@S-CentOS home]# cat /etc/issue

注意:该命令也适用于所有的Linux发行版

温馨提示:答案为网友推荐,仅供参考
第1个回答  2020-10-30

介绍怎么查看linux系统版本