How to check the version of Debian OR Ubuntu OS?
To find out the version of Debian OS you are running, execute
# cat /etc/debian_version
There are 2 ways to find out the version of Ubuntu OS you are running.
1. Check the file /etc/issue and the output will be something like:
# cat /etc/issue
Debian GNU/Linux 5.x
2. Execute the lsb_release command:
# lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 5.x (lenny)
Release: 5.x
Codename: lenny
Tags: command to check debian distribution, command to check OS version of Ubuntu, debian sid or debian lenny, how to check debian or ubuntu version?, How to check the version of Debian or Ubuntu OS?, how to install debian lenny?, how to install debian sid?, VPS and debian lenny upgrade
