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 -a

This 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-release

This file contains a variety of information about your operating system, including the version of Ubuntu you are running.

(https://casadelninobilingual.com)

Leave a Comment