Getting Ubuntu's version from the command line
I often forget which version of Ubuntu I’m running.
Running lsb_release -a
will show the version along with some other information. It looks like this:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic