方法1:

cat /etc/issue

将输出系统版本号

方法2:

sudo lsb_release -a

输出详细版本信息