<?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>Random Geekage &#187; command line</title>
	<atom:link href="http://kevinisageek.org/tag/command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://kevinisageek.org</link>
	<description>Randomness, geekery and whatever else I feel like</description>
	<lastBuildDate>Thu, 20 May 2010 10:29:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Command Line Fu</title>
		<link>http://kevinisageek.org/2009/02/16/command-line-fu/</link>
		<comments>http://kevinisageek.org/2009/02/16/command-line-fu/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 10:53:01 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Random Knowlege]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[russian roulette]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://kevinisageek.org/?p=433</guid>
		<description><![CDATA[Finally Digg comes up with something useful. Command-Line-Fu is a site that has a ton of useful Unix (and occasionally Windows) commands. For the adventurous (make sure you have a backup, please): [ $[ $RANDOM % 6 ] == 0 ] &#38;&#38; rm -rf / &#124;&#124; echo *Click*]]></description>
			<content:encoded><![CDATA[<p>Finally Digg comes up with something useful. <a href="http://www.commandlinefu.com">Command-Line-Fu</a> is a site that has a ton of useful Unix (and occasionally Windows) commands.</p>
<p>For the adventurous (make sure you have a backup, please):</p>
<div class="line" title="This command has been reported as dangerous - be very careful of using it">
<pre class="command-dangerous">[ $[ $RANDOM % 6 ] == 0 ] &amp;&amp; rm -rf / || echo *Click*</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://kevinisageek.org/2009/02/16/command-line-fu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alpine and GPG</title>
		<link>http://kevinisageek.org/2008/11/25/alpine-and-gpg/</link>
		<comments>http://kevinisageek.org/2008/11/25/alpine-and-gpg/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 18:11:14 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Random Knowlege]]></category>
		<category><![CDATA[Alpine]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[guis are for the weak]]></category>
		<category><![CDATA[Mutt]]></category>

		<guid isPermaLink="false">http://kevinisageek.org/weblog/?p=314</guid>
		<description><![CDATA[For a while I have been trying to get used to using the command line for all of my application needs. One of the sticking points for me is email. As far as I can see, the two main text based email clients are Alpine and Mutt. Mutt seemed to be a pain to configure, [...]]]></description>
			<content:encoded><![CDATA[<p>For a while I have been trying to get used to using the command line for all of my application needs. One of the sticking points for me is email. As far as I can see, the two main text based email clients are Alpine and Mutt.</p>
<p>Mutt seemed to be a pain to configure, I couldn&#8217;t find an entry in the config file to put in my details and it brought in a whole bunch of other packages onto my system. Mutt seems to only be able to retrieve mail on its own. Sending requires the extra software which is a downside to me. Extra stuff to update, more possibility of security holes. Alpine on the other hand, has no such problems.</p>
<p>The other main part of email for me is GPG functionality. The default email client in Ubuntu, Evolution, has a really simple way of configuring GPG, just put your key ID into a text field and it does the rest. However, Evolution has a ton of bells and whistles like calendars and address book functionality. Plus I can&#8217;t have it backgrounded.</p>
<p>Klaatu did a Hacker Public Radio episode on <a href="http://www.hackerpublicradio.org/eps.php?id=0222">how to integrate GPG and Alpine</a> but I felt that during the main part he spoke too fast and never went over the proper syntax of the configuration lines, like the need for correct capitalisation. After hunting around a bit more, <a href="http://www.debian-administration.org/users/squantrill/weblog/1">I found a page that had the correct lines</a> ready for copy and paste (Edit: the symlinks are needed to use the filters properly).</p>
<p>First, open a shell and do the following commands:</p>
<pre>sudo ln -s /usr/bin/gpg /usr/bin/encrypt

sudo ln -s /usr/bin/gpg /usr/bin/sign</pre>
<p>Then open your .pinerc file and amend the display and sending filters to this:</p>
<pre>display-filters=_LEADING("-----BEGIN PGP SIGNED MESSAGE")_ /usr/bin/gpg --decrypt,
_LEADING("-----BEGIN PGP MESSAGE")_ /usr/bin/gpg --decrypt

sending-filters=/usr/bin/encrypt --encrypt -r _RECIPIENTS_ -a,
/usr/bin/sign --clearsign</pre>
<p>Whack that into your .pinerc file in the right places and so long as you have GPG set up encrypted mail should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinisageek.org/2008/11/25/alpine-and-gpg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
