ubuntu查看内核版本和发行版本
By admin
- One minute read - 57 words查看 内核 版本:
方法一:uname -r 输出: 2.6.32-23-generic 方法二:cat /proc/version 输出: Linux version 2.6.32-23-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010
查看 发行 版本:`
方法一:cat /etc/issue` 输出: Ubuntu 8.04 \n \l 方法二:lsb_release -a 输出: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04 LTS Release: 10.04 Codename: lucid