ubuntu查看系统版本和linux内核版本

sudo lsb_release -a

hhb@ubuntu:threads$ sudo lsb_release -a
[sudo] password for hhb: 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:    14.04
Codename:   trusty

可以看到我的系统版本是ubuntu14.04.1 LTS

cat /proc/version

hhb@ubuntu:threads$ cat /proc/version
Linux version 3.13.0-32-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014

linux内核版本是Linux version 3.13.0-32-generic

你可能感兴趣的:(ubuntu,linux,kernel,linux)