How do you find the Ubuntu version (release number / name) from the command line?
Run lsb_release
with the -a
switch.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty
$ cat /etc/issue
Ubuntu 8.10 \n \l