ubuntu查看系统版本

方法1:查看issus文件内容

cat /etc/issue 

example:

root@jackguo :~# cat /etc/issue
Ubuntu 12.04.2 LTS \n \l


方法2:使用lsb_release命令

lsb_release  -a

example:

root@jackguo :~# lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04.2 LTS
Release:    12.04
Codename:    precise

 

方法3:使用lsb_release命令

~# uname -a
Linux jackguo 3.2.0-48-generic-pae #74-Ubuntu SMP Thu Jun 6 20:05:01 UTC 2013 i686 i686 i386 GNU/Linux

 

方法4:~# cat /proc/version
Linux version 3.2.0-48-generic-pae (buildd@lamiak) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #74-Ubuntu SMP Thu Jun 6 20:05:01 UTC 2013

 


你可能感兴趣的:(ubuntu查看系统版本)