在这里有介绍3种查看方式:
root@ptubuntu:~# cat /etc/issue
Ubuntu 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 Linux 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