<?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: rm -rf /usr/lib</title>
	<atom:link href="http://inodes.org/2009/09/15/rm-rf-usrlib/feed/" rel="self" type="application/rss+xml" />
	<link>http://inodes.org/2009/09/15/rm-rf-usrlib/</link>
	<description>Moo - Development, Trouble-shooting and Random thoughts...</description>
	<lastBuildDate>Thu, 01 Mar 2012 22:58:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Lev Lafayette</title>
		<link>http://inodes.org/2009/09/15/rm-rf-usrlib/comment-page-1/#comment-2774</link>
		<dc:creator>Lev Lafayette</dc:creator>
		<pubDate>Thu, 01 Jul 2010 03:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/?p=198#comment-2774</guid>
		<description>Good work; that&#039;s a very cool and collected way of making use of the locatedb. I&#039;ll be linking this to my own site under the appropriate page.</description>
		<content:encoded><![CDATA[<p>Good work; that&#8217;s a very cool and collected way of making use of the locatedb. I&#8217;ll be linking this to my own site under the appropriate page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J</title>
		<link>http://inodes.org/2009/09/15/rm-rf-usrlib/comment-page-1/#comment-2685</link>
		<dc:creator>J</dc:creator>
		<pubDate>Sun, 27 Sep 2009 11:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/?p=198#comment-2685</guid>
		<description>A wise solution would be to ban from the shell history the rm command.

Under bash, you can use the HISTIGNORE variable, with something like that to ignore several commands:
HISTIGNORE=&quot;exit:reboot:poweroff:rm&quot;</description>
		<content:encoded><![CDATA[<p>A wise solution would be to ban from the shell history the rm command.</p>
<p>Under bash, you can use the HISTIGNORE variable, with something like that to ignore several commands:<br />
HISTIGNORE=&#8221;exit:reboot:poweroff:rm&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J</title>
		<link>http://inodes.org/2009/09/15/rm-rf-usrlib/comment-page-1/#comment-2681</link>
		<dc:creator>J</dc:creator>
		<pubDate>Sun, 20 Sep 2009 10:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/?p=198#comment-2681</guid>
		<description>Nice trick!</description>
		<content:encoded><![CDATA[<p>Nice trick!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francois Marier</title>
		<link>http://inodes.org/2009/09/15/rm-rf-usrlib/comment-page-1/#comment-2673</link>
		<dc:creator>Francois Marier</dc:creator>
		<pubDate>Tue, 15 Sep 2009 04:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/?p=198#comment-2673</guid>
		<description>Nice trick with locate. When that happened to me I lost half of my /usr/lib/ and once I managed to reinstall dpkg and apt manually, I simply apt-get --reinstall install&#039;ed every installed package.

It was such a pain that I wrote safe-rm (http://www.safe-rm.org.nz), a simple rm wrapper which blacklists important directories like /usr/lib/, to make sure I never did something like that again.

So &quot;apt-get install safe-rm&quot; on all your machines now :)</description>
		<content:encoded><![CDATA[<p>Nice trick with locate. When that happened to me I lost half of my /usr/lib/ and once I managed to reinstall dpkg and apt manually, I simply apt-get &#8211;reinstall install&#8217;ed every installed package.</p>
<p>It was such a pain that I wrote safe-rm (<a href="http://www.safe-rm.org.nz" rel="nofollow">http://www.safe-rm.org.nz</a>), a simple rm wrapper which blacklists important directories like /usr/lib/, to make sure I never did something like that again.</p>
<p>So &#8220;apt-get install safe-rm&#8221; on all your machines now <img src='http://inodes.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

