How to find the version of your Ubuntu machine?
At times, you may across a situation where you need to know the version of Ubuntu to carry on with installing some applications. There are two ways to find out the version of Ubuntu running on your machine.
[root@user Desktop]# cat /etc/issue
Ubuntu 8.04.1 \n \l
[root@user Desktop]# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
How to find the version of CentOS running in your machine?
The following commands can be executed to find the version of CentOS running in your machine.
# cat /etc/issue
# cat /etc/redhat-release