【Linux常用命令】系统信息(内核,Linux版本)

一、查看Linux内核版本命令

1、uname -a


2、cat /proc/version


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

1、lsb_release -a

这个命令适用于所有的Linux发行版,包括RedHat、SUSE、Debian等发行版。


2、cat /etc/redhat-release

这种方法只适合Redhat系的Linux。


3、cat /etc/issue

这个命令也适用于所有的Linux发行版。


猜你喜欢

转载自blog.csdn.net/u013250071/article/details/80192124