查看ubuntu系统版本信息

方法一:cat /etc/issue
返回结果:Ubuntu 10.04.4 LTS \n \l

方法二:cat /proc/version
返回结果:Linux version 2.6.32-52-generic (buildd@roseapple) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) ) #114-Ubuntu SMP Wed Sep 11 18:50:27 UTC 2013

方法三:uname -a
返回结果:Linux spring292713  2.6.32-52-generic #114-Ubuntu SMP Wed Sep 11 18:50:27 UTC 2013 x86_64 GNU/Linux

方法四:lsb_release -a
返回结果:
           No LSB modules are available.
           Distributor ID: Ubuntu
           Description: Ubuntu 10.04.4 LTS
           Release: 10.04
          Codename: lucid

方法五:cat /etc/lsb-release
返回结果:
          DISTRIB_ID=Ubuntu
          DISTRIB_RELEASE=10.04
          DISTRIB_CODENAME=lucid
          DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"

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