命令查看ubuntu的版本号

在这里有介绍3种查看方式:

root@ptubuntu:~# cat /etc/issue
jaunty (development branch) n l
root@ptubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu jaunty (development branch)
Release:        9.04
Codename:       jaunty
root@ptubuntu:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION=”Ubuntu jaunty (development branch)”

让你们看到了.我安装的是ubuntu 9.04的.不过现在这个是测试版本..

如果你使用的是. Red Hat

# cat /etc/redhat-release
Red Hat Enterprise AS release 3 (Taroon Update 1)
# uname -a
Linux server1.example.com 2.4.21-9.0.3.ELsmp #1 SMP Tue Apr 20 19:49:13 EDT 2004
i686 i686 i386 GNU/Linux

原创文章,转载请注明: 转载自PT Ubuntu Blog

本文链接地址: http://www.ptubuntu.com/2008/12/1078.html

Share

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Verify Code   If you cannot see the CheckCode image,please refresh the page again!