Find which Debian or ubuntu Linux Version you are running
Posted by Admin on September 30th, 2006
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Find or identify which version of Debian Linux you are running
This can be checked in /etc/debian_version file
Find or identify which version of ubuntu Linux you are running
You can find in different ways in ubuntu
Solution 1
cat /etc/issue
The file /etc/issue holds the version of Ubuntu installed on your system
Solution 2
lsb_release -a
or
cat /etc/lsb-release


December 28th, 2006 at 11:46 am
Not sure if it always works, but Firefox’s default home page contains a welcome message with the version number.
January 30th, 2008 at 5:29 pm
Firefox’s About dialog also contains the operating system:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
August 29th, 2008 at 1:57 pm
I’ve found much better the firefox way rather than the console one.
While the /etc/debian_version file just says : “testing/unstable”
the other one gives me a lot of info about my OS.
February 7th, 2009 at 6:47 pm
If you just need the version number (for scripting, etc), you can do something like this: