Windows DatabaseebooksStatistical Information

LLE10233 : Howto find the version of kubuntu, ubuntu or debian you are running

Symptom:

You need to know which version you are running right now

Cause:

none

Solution:

There are more than one possibilities to identify which version of Linux you are running

In Kubuntu, Ubuntu and derivates you can have a look at /etc/issue

cat /etc/issue

In my case the output looks like this:

Ubuntu 9.04 \n \l

For a debian system you can have a look at /etc/debian_version. This exists on Kubuntu and Ubuntu to and tells you on wich debian version it is based.

cat /etc/debian_version

The output will show you just a number. In my case:

5.0

Another way to find out is to use the lsb_release command. (a python script)

lsb_release -a

Output:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 9.04
Release:        9.04
Codename:       jaunty

or you can look at het file /etc/lsb-release:

cat /etc/lsb-release

e.g.
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

For a lost resort, you can have a look at your /etc/apt/sources.list which will give you most of the information.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics