<?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: Bash Tip: Closing File Descriptors</title>
	<atom:link href="http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/</link>
	<description>The random things that spew forth from my brain...</description>
	<lastBuildDate>Mon, 16 Jan 2012 18:43:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19620</generator>
	<item>
		<title>By: apokalyptik</title>
		<link>http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/comment-page-1/#comment-10293</link>
		<dc:creator>apokalyptik</dc:creator>
		<pubDate>Mon, 21 Mar 2011 08:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/#comment-10293</guid>
		<description>@foo Granted. But sometimes screen is not necessary or wanted.  checking the PIDfile contents versus the running process list is, naturally, a good idea. But the post was about closing the file descriptors, not writing idfiles or killing processes, so the example is just that: an example. </description>
		<content:encoded><![CDATA[<p>@foo Granted. But sometimes screen is not necessary or wanted.  checking the PIDfile contents versus the running process list is, naturally, a good idea. But the post was about closing the file descriptors, not writing idfiles or killing processes, so the example is just that: an example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: foo</title>
		<link>http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/comment-page-1/#comment-10292</link>
		<dc:creator>foo</dc:creator>
		<pubDate>Mon, 21 Mar 2011 02:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/#comment-10292</guid>
		<description>why not just start up screen and while true;do sh myscript.sh; done ? 
 
then attach to the screen session if you ever want to close it. Then you don&#039;t ever have to worry about the PID getting recycled, and your script accidentally closing the wrong process! </description>
		<content:encoded><![CDATA[<p>why not just start up screen and while true;do sh myscript.sh; done ?</p>
<p>then attach to the screen session if you ever want to close it. Then you don&#039;t ever have to worry about the PID getting recycled, and your script accidentally closing the wrong process!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ndronen</title>
		<link>http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/comment-page-1/#comment-7919</link>
		<dc:creator>ndronen</dc:creator>
		<pubDate>Wed, 15 Oct 2008 08:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/#comment-7919</guid>
		<description>Yeah, this is broken: 
 
    exec 3&gt;&amp;- # close stdin 
    exec 2&gt;&amp;- # close stdout 
    exec 1&gt;&amp;- # close stderr 
 
It should be 
 
    exec 0&gt;&amp;- # close stdin 
    exec 1&gt;&amp;- # close stdout 
    exec 2&gt;&amp;- # close stderr </description>
		<content:encoded><![CDATA[<p>Yeah, this is broken:</p>
<p>    exec 3&gt;&amp;- # close stdin</p>
<p>    exec 2&gt;&amp;- # close stdout</p>
<p>    exec 1&gt;&amp;- # close stderr</p>
<p>It should be</p>
<p>    exec 0&gt;&amp;- # close stdin</p>
<p>    exec 1&gt;&amp;- # close stdout</p>
<p>    exec 2&gt;&amp;- # close stderr</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dandu</title>
		<link>http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/comment-page-1/#comment-7761</link>
		<dc:creator>dandu</dc:creator>
		<pubDate>Fri, 18 Apr 2008 10:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/2007/10/24/bash-tip-closing-file-descriptors/#comment-7761</guid>
		<description>hey, stdin is on fd 0 not 3 :) </description>
		<content:encoded><![CDATA[<p>hey, stdin is on fd 0 not 3 <img src='http://blog.apokalyptik.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/8 queries in 0.004 seconds using memcached
Object Caching 254/257 objects using memcached

Served from: blog.apokalyptik.com @ 2012-02-08 16:57:06 -->
