查看Linux系统和内核版本

一、查看Linux内核版本命令(两种方法):

# cat /proc/version

# uname -a

二、查看Linux系统版本的命令(3种方法):

1、lsb_release -a,即可列出所有版本信息:

# lsb_release -a

2、cat /etc/redhat-release,这种方法只适合Redhat系的Linux:

# cat /etc/redhat-release

3、cat /etc/issue,此命令也适用于所有的Linux发行版。

# cat /etc/issue

留下评论

电子邮件地址不会被公开。 必填项已用*标注