如何查看 ubuntu 版本是不是 :LTS

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 查看
发布了99 篇原创文章 · 获赞 72 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/ljlfather/article/details/105444016