<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Find which Debian or ubuntu Linux Version you are running</title>
	<atom:link href="http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:01:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: nxegr</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-9014</link>
		<dc:creator>nxegr</dc:creator>
		<pubDate>Wed, 02 Nov 2011 08:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-9014</guid>
		<description>the cmd  lsb_release -a ,for unbutu is useful.</description>
		<content:encoded><![CDATA[<p>the cmd  lsb_release -a ,for unbutu is useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stasik</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-8962</link>
		<dc:creator>stasik</dc:creator>
		<pubDate>Wed, 12 Oct 2011 21:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-8962</guid>
		<description>on debian wheezy i type in the console:  &lt;strong&gt;lsb_release -d&lt;/strong&gt;
i still dont know how to check the version (6.0.3 or something like that)</description>
		<content:encoded><![CDATA[<p>on debian wheezy i type in the console:  <strong>lsb_release -d</strong><br />
i still dont know how to check the version (6.0.3 or something like that)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francis</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-8898</link>
		<dc:creator>Francis</dc:creator>
		<pubDate>Thu, 22 Sep 2011 14:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-8898</guid>
		<description>Why not look at /proc/version ?

On Ubuntu:
&lt;code&gt;
Linux version 2.6.24-27-server (buildd@palmer) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)) #1 SMP Wed Mar 24 10:39:18 UTC 2010
&lt;/code&gt;

On Debian:
&lt;code&gt;
Linux version 2.6.26-2-686 (Debian 2.6.26-15) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Thu Mar 26 01:08:11 UTC 2009
&lt;/code&gt;

That should be a reliable way of finding out ....</description>
		<content:encoded><![CDATA[<p>Why not look at /proc/version ?</p>
<p>On Ubuntu:<br />
<code><br />
Linux version 2.6.24-27-server (buildd@palmer) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)) #1 SMP Wed Mar 24 10:39:18 UTC 2010<br />
</code></p>
<p>On Debian:<br />
<code><br />
Linux version 2.6.26-2-686 (Debian 2.6.26-15) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Thu Mar 26 01:08:11 UTC 2009<br />
</code></p>
<p>That should be a reliable way of finding out &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiran kumar</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-8618</link>
		<dc:creator>kiran kumar</dc:creator>
		<pubDate>Fri, 20 May 2011 05:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-8618</guid>
		<description>Thankq for your information. its help full.</description>
		<content:encoded><![CDATA[<p>Thankq for your information. its help full.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: athensguy</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-8297</link>
		<dc:creator>athensguy</dc:creator>
		<pubDate>Sat, 19 Mar 2011 16:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-8297</guid>
		<description>@V

&lt;code&gt;uname -r&lt;/code&gt; reveals the &lt;a href=&quot;http://www.kernel.org/&quot; rel=&quot;nofollow&quot;&gt;Linux kernel&lt;/a&gt; version.

For example:
&lt;code&gt;
# uname -r
2.6.35-28-generic&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@V</p>
<p><code>uname -r</code> reveals the <a href="http://www.kernel.org/" rel="nofollow">Linux kernel</a> version.</p>
<p>For example:<br />
<code><br />
# uname -r<br />
2.6.35-28-generic</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: goodtimetribe</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-7952</link>
		<dc:creator>goodtimetribe</dc:creator>
		<pubDate>Sun, 09 Jan 2011 04:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-7952</guid>
		<description>@V 

Per the Debian documentation, if the /etc/debian_version file does not exist, then it was not installed from official Debian installation disks.

http://www.debian.org/doc/FAQ/ch-software.en.html#s-isitdebian

However, any of the LSB files should be there as LSB is Linux Standard Base. If for some reason you find yourself without it (i guess it could happen, in Lenny? i doubt it...) , install the package.</description>
		<content:encoded><![CDATA[<p>@V </p>
<p>Per the Debian documentation, if the /etc/debian_version file does not exist, then it was not installed from official Debian installation disks.</p>
<p><a href="http://www.debian.org/doc/FAQ/ch-software.en.html#s-isitdebian" rel="nofollow">http://www.debian.org/doc/FAQ/ch-software.en.html#s-isitdebian</a></p>
<p>However, any of the LSB files should be there as LSB is Linux Standard Base. If for some reason you find yourself without it (i guess it could happen, in Lenny? i doubt it&#8230;) , install the package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharif jamadar</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-6431</link>
		<dc:creator>sharif jamadar</dc:creator>
		<pubDate>Fri, 10 Dec 2010 11:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-6431</guid>
		<description>i want todays version of obuntu linux. i have seminar on obuntu linux so pls help me</description>
		<content:encoded><![CDATA[<p>i want todays version of obuntu linux. i have seminar on obuntu linux so pls help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: V</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-6119</link>
		<dc:creator>V</dc:creator>
		<pubDate>Mon, 11 Oct 2010 20:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-6119</guid>
		<description>My  install does not have a &lt;code&gt;debian_version&lt;/code&gt; file, OR a &lt;code&gt;lsb_release&lt;/code&gt; file in &lt;code&gt;/etc&lt;/code&gt;.

The scripts fail.  Even &lt;code&gt;uname -a&lt;/code&gt; doesn&#039;t tell me which version of Debian Linux I am running... it just tells me what my KDE version is, plus letting me know as an aside that I&#039;m running  Linux.

I swear to you it is a Lenny Debian distro of the linux operating system.  I know it&#039;s 5.*.* but that&#039;s about it.

I vaguely remember that aptitude has some kind of clever trick for finding out what version of linux you are running, but I checked the aptitude help files and no dice.

Help?

Here&#039;s the output to &lt;code&gt;uname -a&lt;/code&gt;
&lt;code&gt; Linux mcgee 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010i686 GNU/Linux&lt;/code&gt;

I know that I&#039;m not running Debian version 2.6.26. That&#039;s absurd.  Besides, I&#039;ve done this before, (used uname) and it&#039;s even told me that it&#039;s Lenny and everything.

I&#039;m stumped.</description>
		<content:encoded><![CDATA[<p>My  install does not have a <code>debian_version</code> file, OR a <code>lsb_release</code> file in <code>/etc</code>.</p>
<p>The scripts fail.  Even <code>uname -a</code> doesn&#8217;t tell me which version of Debian Linux I am running&#8230; it just tells me what my KDE version is, plus letting me know as an aside that I&#8217;m running  Linux.</p>
<p>I swear to you it is a Lenny Debian distro of the linux operating system.  I know it&#8217;s 5.*.* but that&#8217;s about it.</p>
<p>I vaguely remember that aptitude has some kind of clever trick for finding out what version of linux you are running, but I checked the aptitude help files and no dice.</p>
<p>Help?</p>
<p>Here&#8217;s the output to <code>uname -a</code><br />
<code> Linux mcgee 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010i686 GNU/Linux</code></p>
<p>I know that I&#8217;m not running Debian version 2.6.26. That&#8217;s absurd.  Besides, I&#8217;ve done this before, (used uname) and it&#8217;s even told me that it&#8217;s Lenny and everything.</p>
<p>I&#8217;m stumped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: freebourg</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-6045</link>
		<dc:creator>freebourg</dc:creator>
		<pubDate>Sat, 25 Sep 2010 10:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-6045</guid>
		<description>As checked today, &quot;/etc/debian_version&quot; contains the version number. 

I think you didn&#039;t read the post correctly. Don&#039;t use &quot;/etc/debian_version&quot; to know your Ubuntu version.

On Lenny, this file contains: 5.0.6
and on Ubuntu 10.04.1 this file is filled with &quot;squeeze/sid&quot;, which is correct because Ubuntu is built on Debian Testing.

Good point BiSScuiTT. I think the lsb_release script just reads that so sourcing this is the best way to do it.</description>
		<content:encoded><![CDATA[<p>As checked today, &#8220;/etc/debian_version&#8221; contains the version number. </p>
<p>I think you didn&#8217;t read the post correctly. Don&#8217;t use &#8220;/etc/debian_version&#8221; to know your Ubuntu version.</p>
<p>On Lenny, this file contains: 5.0.6<br />
and on Ubuntu 10.04.1 this file is filled with &#8220;squeeze/sid&#8221;, which is correct because Ubuntu is built on Debian Testing.</p>
<p>Good point BiSScuiTT. I think the lsb_release script just reads that so sourcing this is the best way to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BiSScuiTT</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-4509</link>
		<dc:creator>BiSScuiTT</dc:creator>
		<pubDate>Mon, 01 Mar 2010 23:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-4509</guid>
		<description>For scripting a quick and easy way would be to source /etc/lsb-release. This will make all the variables in /etc/lsb-release available to the script.

Example:

#! /bin/bash
source /etc/lsb-release
echo $DISTRIB_RELEASE</description>
		<content:encoded><![CDATA[<p>For scripting a quick and easy way would be to source /etc/lsb-release. This will make all the variables in /etc/lsb-release available to the script.</p>
<p>Example:</p>
<p>#! /bin/bash<br />
source /etc/lsb-release<br />
echo $DISTRIB_RELEASE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-4224</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Mon, 28 Dec 2009 11:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-4224</guid>
		<description>on debian:
uname -a
debian version:
cat /etc/debian_version</description>
		<content:encoded><![CDATA[<p>on debian:<br />
uname -a<br />
debian version:<br />
cat /etc/debian_version</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: L33tCh</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-4094</link>
		<dc:creator>L33tCh</dc:creator>
		<pubDate>Thu, 03 Dec 2009 07:32:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-4094</guid>
		<description>Don&#039;t need to cut for ubuntu... just &#039;lsb_release -sr&#039; does the trick.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t need to cut for ubuntu&#8230; just &#8216;lsb_release -sr&#8217; does the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: labilbe</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-3487</link>
		<dc:creator>labilbe</dc:creator>
		<pubDate>Thu, 06 Aug 2009 15:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-3487</guid>
		<description>Thank you!
Exactly what I needed.</description>
		<content:encoded><![CDATA[<p>Thank you!<br />
Exactly what I needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dragon Slayer</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-3374</link>
		<dc:creator>Dragon Slayer</dc:creator>
		<pubDate>Thu, 16 Jul 2009 05:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-3374</guid>
		<description>Or you could run this 
http://programs.rcrnet.net/#version</description>
		<content:encoded><![CDATA[<p>Or you could run this<br />
<a href="http://programs.rcrnet.net/#version" rel="nofollow">http://programs.rcrnet.net/#version</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darin</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-2368</link>
		<dc:creator>Darin</dc:creator>
		<pubDate>Sat, 07 Feb 2009 18:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-2368</guid>
		<description>If you just need the version number (for scripting, etc), you can do something like this:

&lt;blockquote&gt;
VERSION=`lsb_release -sd  &#124; cut -c 8-`
echo Configuring for Ubuntu ${VERSION}...
&lt;blockquote&gt;</description>
		<content:encoded><![CDATA[<p>If you just need the version number (for scripting, etc), you can do something like this:</p>
<blockquote><p>
VERSION=`lsb_release -sd  | cut -c 8-`<br />
echo Configuring for Ubuntu ${VERSION}&#8230;</p>
<blockquote></blockquote>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-343</link>
		<dc:creator>Felipe</dc:creator>
		<pubDate>Fri, 29 Aug 2008 12:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-343</guid>
		<description>I&#039;ve found much better the firefox way rather than the console one.

While the /etc/debian_version file just says : &quot;testing/unstable&quot;

the other one gives me a lot of info about my OS.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve found much better the firefox way rather than the console one.</p>
<p>While the /etc/debian_version file just says : &#8220;testing/unstable&#8221;</p>
<p>the other one gives me a lot of info about my OS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ionut</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-342</link>
		<dc:creator>Ionut</dc:creator>
		<pubDate>Wed, 30 Jan 2008 16:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-342</guid>
		<description>Firefox&#039;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</description>
		<content:encoded><![CDATA[<p>Firefox&#8217;s About dialog also contains the operating system:<br />
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</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darshak</title>
		<link>http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html/comment-page-1#comment-341</link>
		<dc:creator>Darshak</dc:creator>
		<pubDate>Thu, 28 Dec 2006 11:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html#comment-341</guid>
		<description>Not sure if it always works, but Firefox&#039;s default home page contains a welcome message with the version number.</description>
		<content:encoded><![CDATA[<p>Not sure if it always works, but Firefox&#8217;s default home page contains a welcome message with the version number.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

