How to view kernel version and release number of ubuntu?

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/weixin_44517301/article/details/100528950

After sometimes, we upgrade the kernel version, or upgrade from one version to the new version, I want to see your own ubuntu is upgraded successfully. But is there a more efficient way for example to see inside the terminal it? The answer is yes. To view the version number of Ubuntu, you can use one of two methods.
method one

Run the following command in the terminal:

cat /etc/issue

You can view the version number of the currently running Ubuntu. Its output like the following:

Ubuntu 8.04 / n / l

Method Two

Use lsb_release command can also view Ubuntu version number, and a comparison method, the content in more detail. Execute instructions as follows:

sudo lsb_release -a

The output:

Distributor ID:    Ubuntu
Description:    Ubuntu 8.04
Release:    8.04
Codename:    hardy

So, if you need to see the kernel version of it?
Viewing the kernel version number is:
print a terminal, type the command uname -r

Guess you like

Origin blog.csdn.net/weixin_44517301/article/details/100528950