码迷,mamicode.com
首页 > 系统相关 > 详细

查看Linux内核版本命令

时间:2016-09-06 22:53:25      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:

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

1、cat /proc/version

2、uname -a

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

1、lsb_release -a,即可列出所有版本信息:
这个命令适用于所有的Linux发行版,包括Redhat、SuSE、Debian…等发行版。

2、cat /etc/redhat-release,这种方法只适合Redhat系的Linux:
3、cat /etc/issue,此命令也适用于所有的Linux发行版。

参考:http://www.ha97.com/2987.html

 

查看Linux内核版本命令

标签:

原文地址:http://www.cnblogs.com/xiluhua/p/5847266.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!