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
Comments are closed.