<?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/"
	>

<channel>
	<title>The Deployer &#187; Linux</title>
	<atom:link href="http://thedeployer.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://thedeployer.com</link>
	<description>Technology and Development Today</description>
	<lastBuildDate>Thu, 05 Aug 2010 07:17:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux I/O Redirection</title>
		<link>http://thedeployer.com/2008-06-linux-io-redirection</link>
		<comments>http://thedeployer.com/2008-06-linux-io-redirection#comments</comments>
		<pubDate>Mon, 02 Jun 2008 11:26:00 +0000</pubDate>
		<dc:creator>Lucian Daniliuc</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thedeployer.com/?p=47</guid>
		<description><![CDATA[Redirecting the output is useful everywhere, including in php.
By using `exec()` to import a .sql file into mysql, everything goes smoothly. Until you get some errors. Mysql sends the errors it encounters to stderr instead of stdout.
So&#8230; you get the command status 1 (something went bad), but no error message, so you don&#8217;t even know [...]]]></description>
			<content:encoded><![CDATA[<p>Redirecting the output is useful everywhere, including in php.</p>
<p>By using `exec()` to import a .sql file into mysql, everything goes smoothly. Until you get some errors. Mysql sends the errors it encounters to stderr instead of stdout.</p>
<p>So&#8230; you get the command status 1 (something went bad), but no error message, so you don&#8217;t even know where to start.</p>
<p>That&#8217;s where the <a href="http://www.cpqlinux.com/redirect.html" target="_blank">linux I/O redirections t</a> come in handy.</p>
<p>To get the error message as well into the output, you have to add the following extra stuff to the end of your command line that is being passed to `exec()`:</p>
<p><code> 2>&#038;1</code></p>
<p>Now you also get the error messages in your response.</p>
]]></content:encoded>
			<wfw:commentRss>http://thedeployer.com/2008-06-linux-io-redirection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto-save &amp; backup on EMACS</title>
		<link>http://thedeployer.com/2008-03-auto-save-backup-on-emacs</link>
		<comments>http://thedeployer.com/2008-03-auto-save-backup-on-emacs#comments</comments>
		<pubDate>Mon, 03 Mar 2008 09:04:00 +0000</pubDate>
		<dc:creator>Lucian Daniliuc</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://thedeployer.com/?p=41</guid>
		<description><![CDATA[I use emacs on servers with unlimited access (root) but i also use it at work where&#8217;s limited access and where I can only modify files (such as apache configuration files files) but not create new ones. And here is where emacs starts complaining.
&#8220;Access denied saving backup&#8221;. &#8220;Cannot auto-save&#8221;.
The solution: create a file called .emacs [...]]]></description>
			<content:encoded><![CDATA[<p>I use emacs on servers with unlimited access (root) but i also use it at work where&#8217;s limited access and where I can only modify files (such as apache configuration files files) but not create new ones. And here is where emacs starts complaining.</p>
<p>&#8220;Access denied saving backup&#8221;. &#8220;Cannot auto-save&#8221;.</p>
<p>The solution: create a file called .emacs in your home directory with the following content:</p>
<blockquote><p>;; disable backup<br />(setq backup-inhibited t)<br />;; disable auto save<br />(setq auto-save-default nil)</p></blockquote>
<p>You&#8217;re done. Emacs doesn&#8217;t complain anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://thedeployer.com/2008-03-auto-save-backup-on-emacs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
