How to check Ubuntu version in Linux command line
You can check the version of Ubuntu you are running from the command line using the following command:
lsb_release -aThis command will show you the version of Ubuntu you are running, as well as other information about your Linux distribution, such as the release number and the codename.
You can also use the cat command to view the contents of the /etc/os-release file, which contains information about your operating system:
cat /etc/os-releaseThis file contains a variety of information about your operating system, including the version of Ubuntu you are running.
n(https://casadelninobilingual.com)