know the Ubuntu Version

Command : lsb_release -a

LSB stands for Linux Standard Base

The -a option in the lsb_release command stands for “all”.
It displays all available information about your Linux distribution.