Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / tech / Discovering your Debian version

Discovering your Debian version

| filed under:

I have been a Debian user for more than 15 years but I only discovered today that there is a simple way to ascertain which version you are currently running

Today, I dug out an old Lex Light fanless PC which I haven't used for years. The first thing I had to do was find out the version of Debian it was running which I normally do by checking the contents of the sources.list file. I wondered if there was an easier way to find out the current version and indeed there is:

cat /etc/debian_version 
wheezy/sid

I don't know why I never noticed that file before.

After a bit more searching online I discovered there was another way to find this information (and more):

lsb_release -a

No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux testing (wheezy)
Release:    testing
Codename:    wheezy

You learn something new every day!

2015-07-09 00:37 | Comments (0)
Filed under:
Add comment

You can add a comment by filling out the form below. Plain text formatting.

Question: What is 12 - 6 ?
Your answer: