<?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: How to empty or clear the contents of an existing UNIX file</title>
	<atom:link href="http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:22:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lakshmanan Samy</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-51609</link>
		<dc:creator>Lakshmanan Samy</dc:creator>
		<pubDate>Sat, 12 Nov 2011 11:34:50 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-51609</guid>
		<description>Thanks these are all helpful</description>
		<content:encoded><![CDATA[<p>Thanks these are all helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep D.</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-48035</link>
		<dc:creator>Sandeep D.</dc:creator>
		<pubDate>Mon, 18 Apr 2011 02:51:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-48035</guid>
		<description>Thansk. This is the best way to clear the contents of a file
UNIX PROMPT&gt; :&gt; [file name]</description>
		<content:encoded><![CDATA[<p>Thansk. This is the best way to clear the contents of a file<br />
UNIX PROMPT&gt; :&gt; [file name]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan Anderson</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-44742</link>
		<dc:creator>Duncan Anderson</dc:creator>
		<pubDate>Mon, 13 Dec 2010 19:07:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-44742</guid>
		<description>:&gt; filename

Has always been my choice, especially in shell scripts.</description>
		<content:encoded><![CDATA[<p>:&gt; filename</p>
<p>Has always been my choice, especially in shell scripts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinothkumar Sundaram</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-43819</link>
		<dc:creator>Vinothkumar Sundaram</dc:creator>
		<pubDate>Tue, 09 Nov 2010 12:23:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-43819</guid>
		<description>Sorry it is working </description>
		<content:encoded><![CDATA[<p>Sorry it is working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geo</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-43679</link>
		<dc:creator>Geo</dc:creator>
		<pubDate>Wed, 03 Nov 2010 11:24:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-43679</guid>
		<description># touch test 
# cat test &gt; blah.txt

this commands will empty the file blah.txt
</description>
		<content:encoded><![CDATA[<p># touch test<br />
# cat test &gt; blah.txt</p>
<p>this commands will empty the file blah.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guest</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-41503</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Fri, 13 Aug 2010 05:14:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-41503</guid>
		<description>: &gt; blah.txt</description>
		<content:encoded><![CDATA[<p>: &gt; blah.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty69</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-41417</link>
		<dc:creator>Marty69</dc:creator>
		<pubDate>Tue, 10 Aug 2010 13:17:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-41417</guid>
		<description>I&#039;m a newbee at this so i assume if u pip this into the temp folder u will get the same results?</description>
		<content:encoded><![CDATA[<p>I&#8217;m a newbee at this so i assume if u pip this into the temp folder u will get the same results?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DINESH</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-39261</link>
		<dc:creator>DINESH</dc:creator>
		<pubDate>Mon, 24 May 2010 04:08:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-39261</guid>
		<description>echo -n &gt; blah.txt</description>
		<content:encoded><![CDATA[<p>echo -n &gt; blah.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-37807</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 26 Feb 2010 08:32:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-37807</guid>
		<description>Nothing just cat the file with echo &quot; &quot; as mentioned below to empty the file.

Include this command in the script will get all the details in it washed away 

echo &quot; &quot; &#124; cat &gt; 

Ex : echo &quot;  &quot; &#124; cat &gt; temp </description>
		<content:encoded><![CDATA[<p>Nothing just cat the file with echo &#8221; &#8221; as mentioned below to empty the file.</p>
<p>Include this command in the script will get all the details in it washed away </p>
<p>echo &#8221; &#8221; | cat &gt; </p>
<p>Ex : echo &#8221;  &#8221; | cat &gt; temp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-37583</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 17 Feb 2010 13:56:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-37583</guid>
		<description>Important to note- the &#039;&gt; filename&#039; method will only work on sh, and ksh variants but not csh.

--Dennis</description>
		<content:encoded><![CDATA[<p>Important to note- the &#8216;&gt; filename&#8217; method will only work on sh, and ksh variants but not csh.</p>
<p>&#8211;Dennis</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 2/17 queries in 1.042 seconds using memcached
Object Caching 417/422 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 11:30:47 -->
