how to see ubuntu server or desktop
2017-02-10 10:45
309 查看
christine
christine@
-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: xenial
christine-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:
linux-image-2.6.35-22-generic
And server:
linux-image-2.6.35-22-server
For a more generic package that should be the same across different versions of Ubuntu,
linux-image-genericis the default package for Ubuntu desktop and
linux-image-serveris the default for the server edition.
相关文章推荐
- how to install a vncserver or vncviewer in Ubuntu
- How to upgrade to Ubuntu 10.10 Maverick Meerkat from ubuntu 10.04 lucid, karmic| Desktop & Server
- How can I monitor a given folder to see, for example, when a file was added, deleted, or modified?
- How to start/restart/stop apache server on ubuntu
- How to config synergy between ubuntu as server and windows client
- How to setup FTP server in ubuntu
- How to Change the MySQL Time Zone on an Ubuntu Server
- [Yii Framework] How to run cron job (or use command) in the server with yii framework
- How to recover ubuntu (9.04 or higher) grub
- How to see all the application errors related to SQL Server and export them to a .csv file.
- 本周技术关注:ISP-Server Setup - Ubuntu 5.10 'Breezy Badger' | HowtoForge - Linux Howtos and Tutorials
- How To Submit Form Data by Using XMLHTTP or ServerXMLHTTP Object
- [转载]:How to pass a list of values or array to SQL Server stored procedure?
- 转载---How To Set Up A USB-Over-IP Server And Client With Ubuntu 10.04
- How To Upgrade From Fedora 9 To Fedora 10 (Desktop & Server)
- How to Change Default Grub Theme or Splash Image in Ubuntu 10.10
- How to shutdown or reboot the machine on remote desktop connection?
- How do I configure vncserver to start GNOME or KDE by default in Red Hat Enterprise Linux ?
- How to create shortcuts to desktop in ubuntu 12.04