Solution 1

cat /etc/issue

Solution 2

lsb_release -a or cat /etc/lsb-release