How to determine Ubuntu version via a terminal session

To determine the version of Ubuntu via a terminal session, use the following command:

lsb_release –a

ubuntu_determine_version