LTS(Long Term Support):长期演进版,Ubuntu会对这一版本的支持时间更长。(目前为5年的升级支持)生产环境建议使用 LTS 版本!
cat /etc/issue 即可 !
或者你在 login shell 页面时,也会弹出这些信息!
还可以使用 lsb_release 命令 :
root@zhengzelin:~# lsb_release -a
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
具体用法可以使用 lsb_release --help 查看