Find out Ubuntu version from command line

Type the following command on a terminal window:

$ lsb_release -a
LSB Version:    core-2.0-ia32:...
Distributor ID: Ubuntu
Description:    Ubuntu 12.04 LTS
Release:        12.04
Codename:       precise

Leave a Reply