Saturday, November 8, 2008

Finding your Ubuntu version

Sometimes you ask others to help you resolve a problem, it is good to know which ubuntu version you have... here is the very useful command


cappetta@Linux-Box:/var/log/mysql$ lsb_release -dc
Description: Ubuntu 7.10
Codename: gutsy




cappetta@Linux-Box:/var/log/mysql$ cat /etc/issue
Ubuntu 7.10 \n \l

cappetta@Linux-Box:/var/log/mysql$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"


No comments: