查看linux内核和版本信息

本文介绍两种查看Linux内核版本的方法及两种查看系统版本的方法。包括使用cat/proc/version和uname-a命令来查看内核版本,以及使用lsb_release-a和cat/etc/issue命令来查看系统版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

1、cat /proc/version

Linux version 3.10.0_1-0-0-8 (root@xxx) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Thu Oct 29 13:04:32 CST 2015

 

2、uname -a

Linux xxx 3.10.0_1-0-0-8 #1 SMP Thu Oct 29 13:04:32 CST 2015 x86_64 x86_64 x86_64 GNU/Linux

 

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

1、lsb_release -a

LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.3 (Final)
Release:        6.3
Codename:       Final

 

2、cat /etc/issue

CentOS release 6.3 (Final)
Kernel \r on an \m

 

本文参考自:

http://www.linuxidc.com/Linux/2016-05/131749.htm

 

转载于:https://www.cnblogs.com/abc-begin/p/8215149.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值