Discovering your Debian version

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!


Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

captcha

prove you are human by solving the simple arithmetic question.

required

Recent Posts

Archive

2018
2017
2016
2015
2013
2012
2010

Categories

Tags

Feeds

RSS / Atom