<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Hack a Day &#187; rm</title>
	<atom:link href="http://hackaday.com/tag/rm/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Fri, 10 Feb 2012 09:25:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hackaday.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/5560f98f805877b0e332f191cb9e0af3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Hack a Day &#187; rm</title>
		<link>http://hackaday.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hackaday.com/osd.xml" title="Hack a Day" />
	<atom:link rel='hub' href='http://hackaday.com/?pushpress=hub'/>
		<item>
		<title>WordPress 2.7 upgrade in one line</title>
		<link>http://hackaday.com/2008/12/10/wordpress-27-upgrade-in-one-line/</link>
		<comments>http://hackaday.com/2008/12/10/wordpress-27-upgrade-in-one-line/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 03:46:15 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[downloads hacks]]></category>
		<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cfinke]]></category>
		<category><![CDATA[chris finke]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[one line]]></category>
		<category><![CDATA[rm]]></category>
		<category><![CDATA[rm -rf]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress mu]]></category>
		<category><![CDATA[wordpress.com]]></category>
		<category><![CDATA[wordpress.org]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=6820</guid>
		<description><![CDATA[BadPoetry WordPress 2.7 has just been released and features a complete interface overhaul. Hack a Day runs on WordPress MU hosted by WordPress.com, so we got this update last week. We run standard WordPress.org on all of our personal blogs though. We recommend it because it&#8217;s free, has a massive userbase, and if you host [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=6820&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-6821" title="wordpress" src="http://hackadaycom.files.wordpress.com/2008/12/wordpress.jpg" alt="wordpress" width="450" height="60" /></p>
<p><span style="text-decoration:line-through;">BadPoetry</span> <a title="WordPress › Blog Tool and Publishing Platform" href="http://wordpress.org/">WordPress 2.7</a> has <a title="WordPress › Blog »   WordPress 2.7 “Coltrane”" href="http://wordpress.org/development/2008/12/coltrane/">just been released</a> and features a complete interface overhaul. Hack a Day runs on <a title="WordPress MU › 	Home" href="http://mu.wordpress.org/">WordPress MU</a> hosted by <a title="WordPress" href="http://wordpress.com/">WordPress.com</a>, so we got this update last week. We run standard WordPress.org on all of our personal blogs though. We recommend it because it&#8217;s free, has a massive userbase, and if you host it yourself, you can do whatever you want with it.</p>
<p>To make the upgrade process as simple as possible (and for the <a title="How to destroy a filesystem  - Hack a Day" href="http://hackaday.com/2008/11/09/how-to-destroy-a-filesystem/">sheer rush of &#8216;rm -rf&#8217;</a>), we use a one line command.</p>
<p><code>$ curl http://wordpress.org/latest.zip -o "wp.zip" &amp;&amp; unzip wp.zip &amp;&amp; rm -rf ./wordpress/wp-content/ &amp;&amp; cp -r ./wordpress/* ~/www/</code></p>
<p><a title="cURL and libcurl" href="http://curl.haxx.se/">curl</a> downloads the latest version from wordpress. unzip unpacks all of the files into a directory called &#8216;wordpress&#8217;. rm -rf removes everything in the &#8216;wp-content&#8217; directory. Otherwise, you will overwrite your images, themes, and plugins. cp -r copies everything to your http document root, overwriting the previous install.</p>
<p>Naturally, you should <a title="Backing Up Your Database « WordPress Codex" href="http://codex.wordpress.org/Backing_Up_Your_Database">back up your current install and database</a> beforehand. We tend to use the one-liner with reckless abandon. If you&#8217;re wondering about the terseness, it was designed to <a title="//wo ..." href="http://twitter.com/cfinke/status/779468837">fit inside the 140 character limit of Twitter</a>.</p>
<p>[Thanks, <a title="Less Talk, More Do" href="http://www.chrisfinke.com/">Chris Finke</a>]</p>
<br />Posted in downloads hacks, misc hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/6820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/6820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/6820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/6820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/6820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/6820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/6820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/6820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/6820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/6820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/6820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/6820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/6820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/6820/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=6820&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/12/10/wordpress-27-upgrade-in-one-line/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">RobotSkirts</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/12/wordpress.jpg" medium="image">
			<media:title type="html">wordpress</media:title>
		</media:content>
	</item>
		<item>
		<title>How to destroy a filesystem</title>
		<link>http://hackaday.com/2008/11/09/how-to-destroy-a-filesystem/</link>
		<comments>http://hackaday.com/2008/11/09/how-to-destroy-a-filesystem/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 00:00:09 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[android hacks]]></category>
		<category><![CDATA[g1 hacks]]></category>
		<category><![CDATA[pcs hacks]]></category>
		<category><![CDATA[security hacks]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[G1]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rm]]></category>
		<category><![CDATA[rm -rf]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[t-mobile]]></category>
		<category><![CDATA[t-mobile g1]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://hackadaycom.wordpress.com/?p=5668</guid>
		<description><![CDATA[The G1 &#8216;execute every command you type&#8216; bug naturally spawned &#8216;rm -rf /&#8217; jokes. rm is the Linux command for deleting files. The -r and -f flags will cause it to remove files recursively and ignore confirmation. Executed as root it will annihilate the entire filesystem. Won&#8217;t it? [Jon Hohle] decided to test exactly how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=5668&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-5669" title="rmrf" src="http://hackadaycom.files.wordpress.com/2008/11/rmrf.jpg" alt="rmrf" width="450" height="88" /></p>
<p>The G1 &#8216;<a title="Android executes everything you type  - Hack a Day" href="http://hackaday.com/2008/11/09/android-executes-everything-you-type/">execute every command you type</a>&#8216; bug naturally spawned &#8216;rm -rf /&#8217; jokes. <a title="rm (Unix) - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/Rm_(Unix)">rm</a> is the Linux command for deleting files. The -r and -f flags will cause it to remove files recursively and ignore confirmation. Executed as root it will annihilate the entire filesystem. Won&#8217;t it? [Jon Hohle] decided to <a href="http://hohle.net/scrap_post.php?post=23&amp;m=full">test exactly how destructive the command was</a> to *nix systems. How functional would the system be afterwards? He tested it side by side with the Windows equivalent, both &#8216;format c:&#8217; and &#8216;del /F /S /Q&#8217;. He wanted to see what protections were available and what would be left working. <a title="Linux - Mahalo" href="http://www.mahalo.com/Linux">Linux</a> ended up completely broken while Windows, thanks to file locking, actually shutdown cleanly&#8230; and never came back. Some OSes, <a title="Meddling in the Affairs of Wizards" href="http://blogs.sun.com/jbeck/date/20041001#rm_rf_protection">like Solaris</a>, refuse to run the command &#8216;rm -rf /&#8217; to prevent accidents.</p>
<br />Posted in android hacks, g1 hacks, pcs hacks, security hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/5668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/5668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/5668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/5668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/5668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/5668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/5668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/5668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/5668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/5668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/5668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/5668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/5668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/5668/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=5668&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/11/09/how-to-destroy-a-filesystem/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">RobotSkirts</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/11/rmrf.jpg" medium="image">
			<media:title type="html">rmrf</media:title>
		</media:content>
	</item>
	</channel>
</rss>
