How to find out the Debian version

You need to run one of the commands

cat /proc/version

the answer contains the kernel version and gcc

hostnamectl

it also outputs the Machine ID and the Boot ID

cat /etc/issue

the answer tells whether you are on sid or not

lsb_release -a

the answer tells whether you are on sid or not

cat /etc/debian_version

the answer tells whether you are on sid or not

Article author: Andrei Olegovich