View Ubuntu kernel version and release version number

Source: Internet
Author: User

Sometimes, after upgrading the kernel version or upgrading from one version to a new version, we would like to see if our Ubuntu upgrade was successful. But is there a relatively quick way to look at the terminal, for example? The answer is yes. In order to view the Ubuntu version number, you can use one of the following two methods.

Method One

Execute the following commands in the terminal:

cat /etc/issue

You can view the version number of the Ubuntu that is currently running. The output is similar to the following:

Ubuntu 8.04/n/L

Method Two

The version number of Ubuntu can also be viewed using the Lsb_release command, which is more detailed than method one. The execution instructions are as follows:

sudo lsb_release -a

Output results:

Distributor ID:    Ubuntu
Description:    Ubuntu 8.04
Release:    8.04
Codename:    hardy
那么,如果需要查看内核版本号呢?
The way to view the kernel version number is:
Print a terminal, enter the command uname-r


View Ubuntu kernel version and release version number

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.