查看内核版本

查看内核版本信息:

1. uname -a

2. cat /etc/lsb-release

————————————————————————————————

root@ubuntu:/work/jz2440/kernel/linux-2.6.22.6# uname -a
Linux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux

————————————————————————————————

root@ubuntu:/etc# find -name *release
./lsb-release

root@ubuntu:/work/jz2440/kernel/linux-2.6.22.6# cat /etc/*-release 

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"

————————————————————————————————

原文地址:https://www.cnblogs.com/mylinux/p/4006669.html