<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechTrouts.com &#187; linux</title>
	<atom:link href="http://techtrouts.com/topics/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://techtrouts.com</link>
	<description>Doin' the dev dance o/</description>
	<lastBuildDate>Thu, 23 Jul 2009 10:42:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Application deployment shell script using rsync</title>
		<link>http://techtrouts.com/application-deployment-shell-script-using-rsync/</link>
		<comments>http://techtrouts.com/application-deployment-shell-script-using-rsync/#comments</comments>
		<pubDate>Thu, 07 May 2009 22:14:07 +0000</pubDate>
		<dc:creator>Carlos Ouro</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://techtrouts.com/application-deployment-shell-script-using-rsync/</guid>
		<description><![CDATA[Hi all, here is a simple deployment shell script (.sh) using rsync to deploy your local application to a productive location. You can download it here. Follow the README file for setup and usage. Feedback comments are always welcome :)]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>here is a simple deployment shell script (.sh) using rsync to deploy your local application to a productive location.</p>
<p>You can download it <a href="http://techtrouts.com/downloads/deploy_sh.zip" title="Application deployment shell script using rsync">here</a>.</p>
<p>Follow the README file for setup and usage.</p>
<p>Feedback comments are always welcome :)</p>
]]></content:encoded>
			<wfw:commentRss>http://techtrouts.com/application-deployment-shell-script-using-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clear file contents on an unix command line</title>
		<link>http://techtrouts.com/clear-file-contents-on-a-unix-command-line/</link>
		<comments>http://techtrouts.com/clear-file-contents-on-a-unix-command-line/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 12:05:16 +0000</pubDate>
		<dc:creator>Carlos Ouro</dc:creator>
				<category><![CDATA[how-tos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://techtrouts.com/clear-file-contents-on-a-unix-command-line/</guid>
		<description><![CDATA[this one is pretty useful. in order to clear the contents of &#8220;file.ext&#8221;, just: $&#62;file.ext You&#8217;re actually just putting a null content on the file, but it&#8217;s a very effective way to quickly clear a file contents on unix, especially if you want to keep permissions, etc. Very useful for clearing error logs.]]></description>
			<content:encoded><![CDATA[<p>this one is pretty useful.<br />
in order to clear the contents of &#8220;file.ext&#8221;, just:</p>
<pre>$&gt;file.ext</pre>
<p>You&#8217;re actually just putting a null content on the file, but it&#8217;s a very effective way to quickly clear a file contents on unix, especially if you want to keep permissions, etc.</p>
<p>Very useful for clearing error logs.</p>
]]></content:encoded>
			<wfw:commentRss>http://techtrouts.com/clear-file-contents-on-a-unix-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>how to install yum on Red Hat Enterprise Linux 4</title>
		<link>http://techtrouts.com/how-to-install-yum-on-red-hat-enterprise-linux-4/</link>
		<comments>http://techtrouts.com/how-to-install-yum-on-red-hat-enterprise-linux-4/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 15:14:59 +0000</pubDate>
		<dc:creator>Carlos Ouro</dc:creator>
				<category><![CDATA[how-tos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://techtrouts.com/how-to-install-yum-on-red-hat-enterprise-linux-4/</guid>
		<description><![CDATA[This case applies to most Red Hat Enterprise Linux 4, from i386 to i686 machines, i&#8217;ve successfully used it on our Red Hat Enterprise Linux ES release 4 (Nahant Update 6): To use it for other systems / architectures, check the packages given at (check). 1. Get the main packages (check) http://dag.wieers.com/rpm/packages/yum/ $wget http://dag.wieers.com/rpm/packages/yum/yum-2.4.2-0.4.el4.rf.noarch.rpm (check) [...]]]></description>
			<content:encoded><![CDATA[<p>This case applies to most Red Hat Enterprise Linux 4, from i386 to i686 machines, i&#8217;ve successfully used it on our Red Hat Enterprise Linux ES release 4 (Nahant Update 6):<br />
To use it for other systems / architectures, check the packages given at (check).</p>
<p><strong>1. Get the main packages</strong></p>
<p>(check) <a href="http://dag.wieers.com/rpm/packages/yum/" title="yum rpm packages" rel="nofollow" target="_blank">http://dag.wieers.com/rpm/packages/yum/</a></p>
<pre>$wget http://dag.wieers.com/rpm/packages/yum/yum-2.4.2-0.4.el4.rf.noarch.rpm</pre>
<p>(check) <a href="http://rpmfind.net/linux/rpm2html/%3Cbr%3E%3C/a%3Esearch.php?query=libsqlite.so.0&amp;submit=Search+...&amp;system=&amp;arch=" title="libsqlite rpm packages" rel="nofollow" target="_blank">http://rpmfind.net/linux/rpm2html/<br />
search.php?query=libsqlite.so.0&amp;submit=Search+&#8230;&amp;system=&amp;arch=</a></p>
<pre>$wget ftp://fr2.rpmfind.net/linux/PLD/dists/ac/ready/i386/libsqlite-2.8.15-1.i386.rpm</pre>
<p>(check) <a href="http://rpmfind.net/linux/rpm2html/%3Cbr%3E%3C/a%3Esearch.php?query=python-elementtree&amp;submit=Search+...&amp;system=&amp;arch=" title="python-elementtree rpm packages" rel="nofollow" target="_blank">http://rpmfind.net/linux/rpm2html/<br />
search.php?query=python-elementtree&amp;submit=Search+&#8230;&amp;system=&amp;arch=</a></p>
<pre>$wget ftp://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/python-elementtree-1.2.6-7.el4.rf.i386.rpm</pre>
<p>(check) <a href="http://rpmfind.net/linux/rpm2html/%3Cbr%3E%3C/a%3Esearch.php?query=python-sqlite&amp;submit=Search+...&amp;system=&amp;arch=" title="python-sqlite rpm packages" rel="nofollow" target="_blank">http://rpmfind.net/linux/rpm2html/<br />
search.php?query=python-sqlite&amp;submit=Search+&#8230;&amp;system=&amp;arch=</a></p>
<pre>$wget ftp://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/RPMS/python-sqlite-0.5.0-1.2.el4.rf.i386.rpm</pre>
<p>(check) <a href="http://rpmfind.net/linux/rpm2html/%3Cbr%3E%3C/a%3Esearch.php?query=urlgrabber&amp;submit=Search+...&amp;system=&amp;arch=" title="python-urlgrabber rpm packages" rel="nofollow" target="_blank">http://rpmfind.net/linux/rpm2html/<br />
search.php?query=urlgrabber&amp;submit=Search+&#8230;&amp;system=&amp;arch=</a></p>
<pre>$wget ftp://rpmfind.net/linux/dag/redhat/el4/en/x86_64/dag/RPMS/python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm</pre>
<p><strong>2. Install Rpm&#8217;s</strong></p>
<pre>$rpm -ivh libsqlite-2.8.15-1.i386.rpm
$rpm -ivh python-elementtree-1.2.6-7.el4.rf.i386.rpm
$rpm -ivh python-sqlite-0.5.0-1.2.el4.rf.i386.rpm
$rpm -ivh python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm
$rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm</pre>
<p><strong>3. Setup the Repository</strong><br />
(check) <a href="http://dag.wieers.com/rpm/packages/rpmforge-release/" title="rpmforge-release rpm packages" rel="nofollow" target="_blank">http://dag.wieers.com/rpm/packages/rpmforge-release/</a></p>
<pre>$wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
$rpm -ivh rpmforge-release-0.3.6-1.el4.rf.i386.rpm</pre>
<p><strong>4. Yum update all packages</strong></p>
<pre>$yum update</pre>
]]></content:encoded>
			<wfw:commentRss>http://techtrouts.com/how-to-install-yum-on-red-hat-enterprise-linux-4/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>How to check Architecture from command line</title>
		<link>http://techtrouts.com/how-to-check-architecture-from-command-line/</link>
		<comments>http://techtrouts.com/how-to-check-architecture-from-command-line/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 14:40:02 +0000</pubDate>
		<dc:creator>Carlos Ouro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://techtrouts.com/how-to-check-architecture-from-command-line/</guid>
		<description><![CDATA[use: $uname -m]]></description>
			<content:encoded><![CDATA[<p>use:</p>
<pre>$uname -m</pre>
]]></content:encoded>
			<wfw:commentRss>http://techtrouts.com/how-to-check-architecture-from-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check if unix based machine is linux from command line</title>
		<link>http://techtrouts.com/how-to-check-if-machine-is-linux-from-command-line/</link>
		<comments>http://techtrouts.com/how-to-check-if-machine-is-linux-from-command-line/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 14:37:51 +0000</pubDate>
		<dc:creator>Carlos Ouro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://techtrouts.com/how-to-check-if-machine-is-linux-from-command-line/</guid>
		<description><![CDATA[use: uname -s Linux Systems return &#8220;Linux&#8221;. The Macs, for example, return &#8220;Darwin&#8221;.]]></description>
			<content:encoded><![CDATA[<p>use:</p>
<pre>uname -s</pre>
<p>Linux Systems return &#8220;Linux&#8221;.<br />
The Macs, for example, return &#8220;Darwin&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://techtrouts.com/how-to-check-if-machine-is-linux-from-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to check linux distro on a command line</title>
		<link>http://techtrouts.com/how-to-check-linux-distro-on-a-command-line/</link>
		<comments>http://techtrouts.com/how-to-check-linux-distro-on-a-command-line/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 14:29:39 +0000</pubDate>
		<dc:creator>Carlos Ouro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://techtrouts.com/how-to-check-linux-distro-on-a-command-line/</guid>
		<description><![CDATA[For what i know, there is no standard way to know for sure&#8230; but each Distro have their own version file you can cat somewhere. Try these: - &#8220;$cat /etc/redhat-release&#8221; will show you information for red hat based distros. - &#8220;$cat /etc/SuSE-release&#8221; for SUSE based distros. - &#8220;$cat /etc/mandrake-release&#8221; for mandrake distros. - &#8220;$cat /etc/debian_version&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>For what i know, there is no standard way to know for sure&#8230;<br />
but each Distro have their own version file you can cat somewhere.<br />
Try these:</p>
<p>- &#8220;$cat /etc/redhat-release&#8221; will show you information for red hat based distros.</p>
<p>- &#8220;$cat /etc/SuSE-release&#8221; for SUSE based distros.</p>
<p>- &#8220;$cat /etc/mandrake-release&#8221; for mandrake distros.</p>
<p>- &#8220;$cat /etc/debian_version&#8221; for debian based distros.</p>
<p>- &#8220;$cat /etc/UnitedLinux-release&#8221; might also return some more information.</p>
<p>I also found this useful tip at <em><a href="http://www.linuxhelp.net/forums/command_check_linux_distribution_t8759.html" target="_blank">linuxhelp.net</a>:<br />
You *might* get some clues by running &#8220;uname -r&#8221; which will show you kernel version &#8211; Some ditributors will rename the kernel to make it specific to their distro (eg, RHEL kernels have RHEL in their name)</em></p>
<p>Note:  As pointed out by Ricardo &#8220;$cat /etc/debian_version&#8221; won&#8217;t return the distro itself, but the version of the distro. Sorry :/</p>
]]></content:encoded>
			<wfw:commentRss>http://techtrouts.com/how-to-check-linux-distro-on-a-command-line/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to check Linux version from command line</title>
		<link>http://techtrouts.com/how-to-check-linux-version-from-command-line/</link>
		<comments>http://techtrouts.com/how-to-check-linux-version-from-command-line/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 13:42:11 +0000</pubDate>
		<dc:creator>Carlos Ouro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://techtrouts.com/how-to-check-linux-version-from-command-line/</guid>
		<description><![CDATA[To check your linux version from command line: $cat /proc/version Go to How to check Linux Distro from command line for more information.]]></description>
			<content:encoded><![CDATA[<p>To check your linux version from command line:</p>
<pre>
$cat /proc/version
</pre>
<p>Go to <a href="http://techtrouts.com/how-to-check-linux-distro-on-a-command-line/" title="How to check Linux Distro from command line">How to check Linux Distro from command line</a> for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://techtrouts.com/how-to-check-linux-version-from-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
