Source: hackster.io

How do you know which version of Ubuntu you are running?

more /etc/issue

This will return something like this:

Ubuntu 18.04.1 LTS n l