To show the version of the Linux distribution that you are currently running, you can use the following command:
lsb_release -a
Running this command in a terminal will display the version of the Linux distribution, as well as other information such as the release codename, description, and more.
For example, running this command on an Ubuntu system might produce output like this:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
This output shows that the system is running Ubuntu 20.04.3 LTS, with a release codename of “focal”.
Alternatively, you can also use the following command to display the version of the Linux kernel that is currently running:
uname -a
This will display information about the kernel name, version, release, and more. For example:
Linux mycomputer 5.13.0-28-generic #31-Ubuntu SMP Fri Jan 14 15:17:49 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
This output shows that the system is running Linux kernel version 5.13.0-28-generic.