Ubuntu command query version and kernel version

Source: Internet
Author: User
Ubuntu command query version and kernel version 1 view ubuntu version: Method 1: catetcissue returned results: Ubuntu6062LTSnl Method 2: sudolsb_release-a returned results: NoLSBmodulesareavailableDistributorID: ubuntu command query version and kernel version 1. check the ubuntu version number. Method 1: cat/etc/issue. The Returned result is Ubuntu 6.06.2 LTS \ n \ l. Method 2: sudo lsb_release-a. the returned result is No LSB modules are available. distributor ID: UbuntuDescription: Ubuntu 6.6.2 LTSRelease: 6.06 Codename: dapper method 3: cat/etc/lsb-release returned result: DISTRIB_ID = UbuntuDISTR IB_RELEASE = 6.06DISTRIB _ CODENAME = dapperDISTRIB_DESCRIPTION = "Ubuntu 6.06.2 LTS" 2. check the kernel version number. Method 4: cat/proc/version. the returned result is Linux version 2.6.15-51-386 (buildd @ palmer) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5 )) #1 PREEMPT Tue Oct 23 21:42:16 UTC 2007 method 5: uname-a return result: linux jpsiteserver 2.6.15-51-386 #1 PREEMPT Tue Oct 23 21:42:16 UTC 2007 i686 GNU/Linux method 6: view only the kernel version uname-r. The Returned result is 2.6.15-51-386 (?) [+] 1. check the ubuntu version number. Method 1: cat/etc/issue. The Returned result is Ubuntu 6.06.2 LTS \ n \ l. Method 2: sudo lsb_release-a. the returned result is No LSB modules are available. distributor ID: UbuntuDescription: Ubuntu 6.6.2 LTSRelease: 6.06 Codename: dapper method 3: cat/etc/lsb-release returned results: DISTRIB_ID = UbuntuDISTRIB_RELEASE = 6.06DISTRIB _ CODENAME = dapperDISTRIB_DESCRIPTION = "Ubuntu 6.06.2 LTS" 2. check the kernel version number. Method 4: cat/proc/version. the returned result is Linux version 2.6.15-51-386 (buildd @ palmer) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5 )) #1 PREEMPT Tue Oct 23 21:42:16 UTC 2007 method 5: uname-a return result: linux jpsiteserver 2.6.15-51-386 #1 PREEMPT Tue Oct 23 21:42:16 UTC 2007 i686 GNU/Linux method 6: View only kernel version uname-r returned result: 2.6.15-51-386
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.