<?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: Damn Useful: When You Forget to type Sudo</title>
	<atom:link href="http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/</link>
	<description></description>
	<lastBuildDate>Mon, 08 Mar 2010 21:06:06 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Justin</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3142</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Wed, 10 Dec 2008 08:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3142</guid>
		<description>Yes well, thanks for the tip - One of those things many of us probably &quot;know&quot; but never use.

I&#039;m not sure whether or not the xkcd cartoon would have been improved if it had been used:

Make me a sandwhich.

What? Make it yourself.

Sudo !!

Okay.

Less funny I think.</description>
		<content:encoded><![CDATA[<p>Yes well, thanks for the tip &#8211; One of those things many of us probably &#8220;know&#8221; but never use.</p>
<p>I&#8217;m not sure whether or not the xkcd cartoon would have been improved if it had been used:</p>
<p>Make me a sandwhich.</p>
<p>What? Make it yourself.</p>
<p>Sudo !!</p>
<p>Okay.</p>
<p>Less funny I think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bootdisk</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3141</link>
		<dc:creator>Bootdisk</dc:creator>
		<pubDate>Wed, 10 Dec 2008 07:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3141</guid>
		<description>bah... just login as root and be done with it








j/k :p</description>
		<content:encoded><![CDATA[<p>bah&#8230; just login as root and be done with it</p>
<p>j/k :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brain Drippings &#187; Blog Archive &#187; bash function, FTW</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3140</link>
		<dc:creator>Brain Drippings &#187; Blog Archive &#187; bash function, FTW</dc:creator>
		<pubDate>Wed, 10 Dec 2008 07:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3140</guid>
		<description>[...] to Leo Laporte&#8217;s twitter post of http://codeulate.com/?p=22 I found this wonderful function buried in the comments. [...]</description>
		<content:encoded><![CDATA[<p>[...] to Leo Laporte&#8217;s twitter post of <a href="http://codeulate.com/?p=22" rel="nofollow">http://codeulate.com/?p=22</a> I found this wonderful function buried in the comments. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: another useful Bash skill &#171; Arnold Funken on the Social Web</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3137</link>
		<dc:creator>another useful Bash skill &#171; Arnold Funken on the Social Web</dc:creator>
		<pubDate>Tue, 09 Dec 2008 22:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3137</guid>
		<description>[...] However, if you want to prepend the previous command with some other command, say man, watch or that sudo (Codeulate), appending &#160;!! still does not save you any keystrokes. However, you still may be [...]</description>
		<content:encoded><![CDATA[<p>[...] However, if you want to prepend the previous command with some other command, say man, watch or that sudo (Codeulate), appending &nbsp;!! still does not save you any keystrokes. However, you still may be [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3136</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Tue, 09 Dec 2008 22:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3136</guid>
		<description>Thanks for all the tips. I like that !! think and the cartoon :)</description>
		<content:encoded><![CDATA[<p>Thanks for all the tips. I like that !! think and the cartoon :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Orenstein</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3135</link>
		<dc:creator>Ben Orenstein</dc:creator>
		<pubDate>Tue, 09 Dec 2008 22:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3135</guid>
		<description>Alan -- Very nice.  I might have to write that up later.</description>
		<content:encoded><![CDATA[<p>Alan &#8212; Very nice.  I might have to write that up later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Orenstein</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3134</link>
		<dc:creator>Ben Orenstein</dc:creator>
		<pubDate>Tue, 09 Dec 2008 22:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3134</guid>
		<description>Timothy -- my pleasure!</description>
		<content:encoded><![CDATA[<p>Timothy &#8212; my pleasure!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Orenstein</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3133</link>
		<dc:creator>Ben Orenstein</dc:creator>
		<pubDate>Tue, 09 Dec 2008 22:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3133</guid>
		<description>Nico -- this should help: http://sial.org/howto/openssh/publickey-auth/</description>
		<content:encoded><![CDATA[<p>Nico &#8212; this should help: <a href="http://sial.org/howto/openssh/publickey-auth/" rel="nofollow">http://sial.org/howto/openssh/publickey-auth/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3132</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Tue, 09 Dec 2008 22:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3132</guid>
		<description>How could I avoid entering the password every time?</description>
		<content:encoded><![CDATA[<p>How could I avoid entering the password every time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://codeulate.com/2008/12/damn-useful-1-you-forgot-to-type-sudo/comment-page-1/#comment-3131</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Tue, 09 Dec 2008 18:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://codeulate.com/?p=22#comment-3131</guid>
		<description>Here&#039;s a bash function that will either pass its arguments to sudo, or if there are no arguments, pass the previous command to sudo:

function s {
   if [ $# -gt 0 ]
   then
     sudo $@
   else
     sudo $(fc -ln &#124; tail -n1)
   fi 
}</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a bash function that will either pass its arguments to sudo, or if there are no arguments, pass the previous command to sudo:</p>
<p>function s {<br />
   if [ $# -gt 0 ]<br />
   then<br />
     sudo $@<br />
   else<br />
     sudo $(fc -ln | tail -n1)<br />
   fi<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
