Run this command to find the installed version of Ubuntu…
cat /etc/lsb-release
This entry was posted
on Friday, August 21st, 2009 at 9:08 pm and is filed under Command Line, Linux.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
October 5th, 2009 10:29
You can also find it by using:
cat /etc/issue
Try this out and see what you get!
October 5th, 2009 13:53
Hey – that comment works on Non Ubuntu distros(worked in Fedora) – thanks for the feedback.
October 5th, 2009 14:32
anytime Binny:)
November 18th, 2009 02:48
# GET AND SET UBUNTU VERSION INFORMATION
D2_OSDIST=”$(lsb_release -is)”
D2_OSVER=”$(lsb_release -rs)”
D2_OSNICK=”$(lsb_release -cs)”
Here I have set the distribution, version and nickname to variables – using bash.