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 ...
$ 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 ...
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 ...
I would like to know how to upgrade from my current version of Ubuntu to the next stable from the Command line interface?