.altsieben

a linux sysadmin code collection

Get Debian Version

the last fifteen years i always used

uname -a

or

cat /etc/issue

to find out which Debian version i actually use.

Today i found that really cool hint

user1@de-backup01:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux testing (jessie)
Release:	testing
Codename:	jessie