您的位置:首页 > 其它

如何查看ubuntu版本号

2015-05-08 13:42 127 查看
1.使用 cat /proc/version 命令查看

Linux version 3.8.0-19-generic (buildd@roseapple) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #30-Ubuntu SMP Wed May 1 16:36:13 UTC 2013

注:proc目录下记录的当前系统运行的各种数据,version记录的版本信息直接可以通过cat查看到。

2.使用 uname -a命令查看

Linux guan 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:36:13 UTC 2013 i686 i686 i686 GNU/Linux

注:uname是输出一组系统信息,包括内核版本、硬件平台信息、操作系统名称等内容。

3.使用lsb_release -a命令查看

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 13.04

Release: 13.04

Codename: raring

注:借用lsb的版本信息查看,哪怕是没有安装LSB模块也能够看到Linux版

转自:http://blog.csdn.net/sflsgfs/article/details/16805349
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: