linux 查看ubuntu版本信息

来源:互联网 发布:网络流量分析软件 编辑:程序博客网 时间:2024/06/07 15:37

最近想查看ubuntu的版本号,百度一下,发现一共有这三种方式:

1.uname -a



2.cat /proc/version



3.lsb_release -a


在我的host上只有第三种方式可以看到,而在这篇blog上,他的三种方式都是可以的:

http://blog.csdn.net/whbing1471/article/details/52074390

记下来以备用。