show version ubuntu code example
Example 1: check ubuntu version
lsb_release -a
Example 2: knows the version of one application on ubuntu
#in your terminal
apt show <program_name>
You can also use the old style apt-cache in either of the below two fashion:
apt-cache policy <program_name>
apt-cache show <program_name>