<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.6.5" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: How Not to Use Shell Commands</title>
	<link>http://www.pythian.com/blogs/525/how-not-to-use-shell-commands</link>
	<description>News and views from Pythian DBAs</description>
	<pubDate>Thu,  4 Dec 2008 21:39:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: SimonH</title>
		<link>http://www.pythian.com/blogs/525/how-not-to-use-shell-commands#comment-66967</link>
		<dc:creator>SimonH</dc:creator>
		<pubDate>Sun, 24 Jun 2007 10:16:12 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/525/how-not-to-use-shell-commands#comment-66967</guid>
		<description>A useful post - worth thinking through why the commands went wrong (might make a good opening question for a technical interview). 

My worst example of this was once:

$ mv bigfile1 bigfile2 stage

where bigfile1 and bigfile2 had taken all night to download over a 56k modem and the stage directory doesn't exist. Since then I have always put a / on the end of the directory name, though fortunately I don't think modern Unixes let you make this mistake (I've just tried Solaris10 and it says "mv: stage not found").</description>
		<content:encoded><![CDATA[<p>A useful post - worth thinking through why the commands went wrong (might make a good opening question for a technical interview). </p>
<p>My worst example of this was once:</p>
<p>$ mv bigfile1 bigfile2 stage</p>
<p>where bigfile1 and bigfile2 had taken all night to download over a 56k modem and the stage directory doesn&#8217;t exist. Since then I have always put a / on the end of the directory name, though fortunately I don&#8217;t think modern Unixes let you make this mistake (I&#8217;ve just tried Solaris10 and it says &#8220;mv: stage not found&#8221;).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
