<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>hbiloo.com</title>
	<link>http://hbiloo.com</link>
	<description>Web developer</description>
	<pubDate>Mon, 28 Apr 2008 10:11:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Empty a text file from the command line</title>
		<link>http://hbiloo.com/2008/04/28/empty-a-text-file-from-the-command-line/</link>
		<comments>http://hbiloo.com/2008/04/28/empty-a-text-file-from-the-command-line/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 09:41:42 +0000</pubDate>
		<dc:creator>Hbiloo</dc:creator>
		
		<category><![CDATA[How to’s]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hbiloo.com/2008/04/28/empty-a-text-file-from-the-command-line/</guid>
		<description><![CDATA[In the following snap code I&#8217;ll show you how to empty a file from the command line in Linux or Mac OS. This without any need for opening the file self or deleting it and creating a new one with the same name.
Let say that you have a file called emptyme.txt. To empty the content [...]]]></description>
			<content:encoded><![CDATA[<p>In the following snap code I&#8217;ll show you how to empty a file from the command line in Linux or Mac OS. This without any need for opening the file self or deleting it and creating a new one with the same name.</p>
<p>Let say that you have a file called emptyme.txt. To empty the content of this file just use the following command and it&#8217;s done:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash">$ <span style="color: #000000; font-weight: bold;">&gt;</span> emptyme.txt</pre></td></tr></table></div>

<p>This will empty the content of emptyme.txt</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash">$ <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">&gt;</span> emptyme.txt</pre></td></tr></table></div>

<p>This will read the content of /dev/null (which contains in fact nothing) and &gt; write this into emptyme.txt</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash">$ <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Hello there!&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> emptyme.txt</pre></td></tr></table></div>

<p>This will empty the content of emptyme.txt and drop the &#8220;Hello there!&#8221; string it in it.</p>
]]></content:encoded>
			<wfw:commentRss>http://hbiloo.com/2008/04/28/empty-a-text-file-from-the-command-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>An easy way to take ownership of Vista files</title>
		<link>http://hbiloo.com/2008/04/11/an-easy-way-to-take-ownership-of-vista-files/</link>
		<comments>http://hbiloo.com/2008/04/11/an-easy-way-to-take-ownership-of-vista-files/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 23:22:47 +0000</pubDate>
		<dc:creator>Hbiloo</dc:creator>
		
		<category><![CDATA[How to’s]]></category>

		<guid isPermaLink="false">http://hbiloo.com/2008/04/11/an-easy-way-to-take-ownership-of-vista-files/</guid>
		<description><![CDATA[Today when I&#8217;ve installed Windows Vista on my PC, I discovered that I don&#8217;t have permission to access some of my files located in the &#8220;D&#8221; drive.  I wasn&#8217;t able to use Cygwin, Eclipse and other applications installed in this drive. I&#8217;ve googled to see if there&#8217;s a way to get the permissions back, [...]]]></description>
			<content:encoded><![CDATA[<p>Today when I&#8217;ve installed Windows Vista on my PC, I discovered that I don&#8217;t have permission to access some of my files located in the &#8220;D&#8221; drive.  I wasn&#8217;t able to use Cygwin, Eclipse and other applications installed in this drive. I&#8217;ve googled to see if there&#8217;s a way to get the permissions back, and I found this amazing file which you easy can add to your registry.</p>
<p>In these steps you&#8217;ll see how to take the ownership of a file:</p>
<p>Download this file &#8220;<a href="http://hbiloo.com/wp-content/uploads/2008/04/own.zip" title="own.zip">own.zip</a>&#8221;<br />
Unzip it and add it to your registry<br />
To take the ownership of a certain file, just right click on that file and click on &#8220;Take Ownership&#8221;</p>
<p><img src="http://hbiloo.com/wp-content/uploads/2008/04/ownership-menu.gif" alt="ownership menu" /></p>
<p>That&#8217;s it. Wasn&#8217;t that so easy???</p>
<p>If you want to <span name="intelliTxt" id="intelliTXT">remove the feature just download this file &#8220;</span><span name="intelliTxt" id="intelliTXT"></span><a href="http://hbiloo.com/wp-content/uploads/2008/04/own_rem.zip" title="own_rem.zip">own_rem.zip</a><span name="intelliTxt" id="intelliTXT">&#8220;</span><a href="http://hbiloo.com/wp-content/uploads/2008/04/own_rem.zip" title="own_rem.zip"></a><span name="intelliTxt" id="intelliTXT">, unzip it and run it</span></p>
]]></content:encoded>
			<wfw:commentRss>http://hbiloo.com/2008/04/11/an-easy-way-to-take-ownership-of-vista-files/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
