noscript-img
HomeAboutLinux NewsLinksPrivacy
My Computer Tips Home

Find out what version of Linux Mint, Ubuntu or Ubuntu based distribution you are running using the terminal

ID: 246

Category: Ubuntu

Added: 29th of January 2021

Updated On: Tutorial updated and rechecked on 31st of August 2025

Views: 2,875

To find out what version of Linux Mint, Ubuntu or Ubuntu based distribution you are running, enter the following command in the terminal.

lsb_release -d -c

The -d switch outputs the description in the terminal
The -c switch outputs the codename in the terminal

Output

All options for lsb_release can be found below