UINOTE

命令行查看 Ubuntu 版本号

下面是命令行查看 Ubuntu 版本号

1、使用 lsb_release 实用程序,可以显示有关 Linux 发行版的 LSB(Linux 标准库)信息。它是检查 Ubuntu 版本的首选方法,无论运行的是哪个桌面环境或 Ubuntu 版本,此方法都可以使用。

lsb_release -a

2、使用 cat 命令显示 /etc/issue 文件中包含系统标识文本的内容

cat /etc/issue

3、使用 cat 命令显示 /etc/os-release 文件中信息。/etc/os-release 是一个包含操作系统标识数据的文件,只能在运行 systemd 的较新 Ubuntu 版本上找到。(注:只有拥有 Ubuntu 16.04 或更高版本时,此方法才有效。)

cat /etc/os-release

4、使用 hostnamectl 命令。hostnamectl 是一个允许用户设置主机名的命令,但也可以使用它来检查 Ubuntu 版本。(注:此命令仅适用于 Ubuntu 16.04 或更高版本。)

hostnamectl

如下图所示:

命令行查看 Ubuntu 版本号

完。

上一篇:Linux tar 命令参数组合说明


Stacia

Stacia

https://dharmaraj.myforums.org.ua/viewtopic.php?id=2010
%%
Linette

Linette

https://locator.ua/blog/?p=2923
%%
Brandie

Brandie

https://alliancecheats.com/gallery/image/105-%D0%BE%D1%84%D0%B8%D1%86%D0%B8%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9-%D0%B4%D0%B8%D0%BF%D0%BB%D0%BE%D0%BC%D1%8B-%D0%BE-%D0%BD%D0%B0%D1%87%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%BC-%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D
%%
Forest

Forest

https://thepokies75.online/
%%
Jacquie

Jacquie

https://www.tiresizehelp.com
%%
Verena

Verena

https://thepokies75australia.net/
%%
Launa

Launa

https://kazinotop.site/
Very nice article. I definitely love this website. Thanks!
Latosha

Latosha

https://bbs.now.qq.com/home.php?mod=space&uid=2666848
Thanks for sharing your thoughts. I really appreciate your efforts and I am waiting for your next write ups thank you once again.
Domenic

Domenic

https://casino-turkey.fun
I'm curious to find out what blog system you're using? I'm having some minor security problems with my latest blog and I would like to find something more risk-free. Do you have any suggestions?
Ana

Ana

http://mel-assessment.com/members/mittenfork4/activity/901513/
I was suggested this website by my cousin. I'm not sure whether this post is written by him as nobody else know such detailed about my trouble. You are amazing! Thanks!