1、uname -a
查看内核版本号
2、cat /etc/issue
查看ubuntu版本号
3、sudo lsb_release -a
查看ubuntu版本号命令
原文:https://www.cnblogs.com/skyfall007/p/9857339.html