how to see ubuntu server or desktop

前端之家收集整理的这篇文章主要介绍了how to see ubuntu server or desktop前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
-All-Series:/etc$ cd ~u-All-Series:~$ cat /proc/versionLinux version 4.4.0-62-generic (buildd@lcy01-30) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017-All-Series:~$ dpkg --get-selections | grep linux-imagelinux-image-4.4.0-31-generic installlinux-image-4.4.0-62-generic installlinux-image-extra-4.4.0-31-generic installlinux-image-extra-4.4.0-62-generic installlinux-image-generic install

dpkg --get-selections | grep linux-image | grep -v deinstall

If the currently installed linux-image package contains the word "server" in it,then you're running Ubuntu server.

For example,the current latest kernel package for Ubuntu 10.10 desktop:

And server:

For a more generic package that should be the same across different versions of Ubuntu,is the default package for Ubuntu desktop and is the default for the server edition.

christinechristine@-All-Series:/etc$ sudo lsb_release -a[sudo] password for christine: No LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 16.04.1 LTSRelease: 16.04Codename: xenialchristinelinux-image-2.6.35-22-genericlinux-image-2.6.35-22-serverlinux-image-genericlinux-image-server
原文链接:https://www.f2er.com/ubuntu/354641.html

猜你在找的Ubuntu相关文章