1
vote
4answers
150 views

Is it possible to know which recognized flavor I am running using terminal?

I have a set of functions in bash script which I want to run only on particular flavors of Ubuntu. For example, I want to run the following if I am running Unity: gsettings set ...
8
votes
6answers
3k views

How to get Ubuntu distribution's full code name?

$ lsb_release -c Codename: trusty $ cat /etc/issue Ubuntu 14.04 LTS \n \l $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04 ...
3
votes
2answers
603 views

How do I know if apt-get is going to do a partial upgrade?

I often update my system with apt-get update && apt-get dist-upgrade. This caused me a few problems with natty and nvidia drivers. Someone on IRC told me that's because I did a partial ...
28
votes
3answers
14k views

Upgrading from the command line? [duplicate]

I would like to know how to upgrade from my current version of Ubuntu to the next stable from the Command line interface?