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