0

How do I figure out what version of Ubuntu I have? Is there a command I can use in terminal? Thank you for any help. I am an extreme newbie.

1
  • cat /etc/lsb-release
    – Pilot6
    Jul 3, 2016 at 15:51

2 Answers 2

1

You can use cat /etc/lsb-release

natasha@natasha-M51SE:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
1
  • @elektron10 If this answer worked for you, please accept it with the checkmark on the left to thank the user and let others know, this was to correct solution.
    – Mark Kirby
    Jul 3, 2016 at 16:04
0

try lsb_release -a. Example:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:    16.04
Codename:   xenial
1
  • This command is correct but gives too much information in LSB Version.
    – Pilot6
    Jul 3, 2016 at 15:54

Not the answer you're looking for? Browse other questions tagged .