Wednesday, May 1, 2024
138
rated 0 times [  138] [ 0]  / answers: 1 / hits: 244505  / 2 Years ago, fri, april 22, 2022, 9:36:11

What terminal command tells the version of Ubuntu.


More From » command-line

 Answers
2

For the description and the release number including the OS name, run:



$ lsb_release -d
Description: Ubuntu 12.04 LTS


Just for the the codename, use:



$ lsb_release -c
Codebase: precise


For the release number only, use:



$ lsb_release -r
Release: 12.04


For all lsb version details, use:



$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

[#37592] Saturday, April 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mocipe

Total Points: 161
Total Questions: 106
Total Answers: 118

Location: Cambodia
Member since Thu, Oct 7, 2021
3 Years ago
;