查看Ubuntu版本 发表于 2017-04-27 | 查看linux版本 方法一123456uname -a> Linux LI 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 athlon i686 GNU/Linux// 仅仅查看内核版本uname -r> 3.13.0-32-generic 方法二12cat /proc/version > Linux version 3.13.0-32-generic (buildd@roseapple) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 查看Ubuntu版本方法一12cat /etc/issue> Ubuntu 14.04.2 LTS \n \l 方法二123456sudo lsb_release -a> NO LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty 方法三:12345cat /etc/lsb-release> DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"