ubuntuのバージョンを確認する

ubuntuのバージョンを確認するには、次のようにします。

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"

あるいは

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.3 LTS
Release:	10.04
Codename:	lucid

参考
ubuntuのバージョンを確認する方法 - 気負わない日記
ubuntuのバージョン確認する。 - それマグで!