$cat /etc/debian_version

or


$lsb_release -a

check debian version