If you have just inherited a computer that is running Linux, you will want to know which Linux distribution and version is running on it. The previous owner might have customized it heavily, like coating it with a macOS theme. That makes it not easy to find out the distribution’s name and version from the desktop. Luckily, there are a few ways to find this information from the Terminal. Check them out.
How to Find Out Which Linux Distribution You Are Using
To get started, open a terminal. You can open it with the keyboard shortcut Ctrl + Shift + T or find it from the Applications menu. Once opened, type the following command:
You will see all the information about your Linux distribution. In the example, Manjaro Linux, the 19.0.2 version, is being used, with the codename “Kyria.”
On a Ubuntu machine, this is what you will see:
Alternatively, you can use the
lsb_release command. Type the following:
and you will see information about the distribution.
Lastly, if you need a simplified view together with the kernel information, you can use the
It will display the operating system (which is the distribution name) and the kernel information.
And for Ubuntu:
Image credit: Isolated laptop by DepositPhotos
Get our stories delivered to your inbox.