Ubuntu: How to check version
Open SSH terminal to your Ubuntu server and type the following command:
lsb_release -a
Your should receive a response like this:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.04 Release: 19.04 Codename: disco