check ubuntu version

Shell
lsb_release -a
Source

Also in Shell: