which version of ubuntu uses bash code example
Example 1: ubuntu version command line
cat /etc/os-release
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>