<?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>Hints and Kinks &#187; shell hackery</title>
	<atom:link href="http://matthew.mceachen.us/blog/tags/shell-hackery/feed" rel="self" type="application/rss+xml" />
	<link>http://matthew.mceachen.us/blog</link>
	<description>HOWTOs and gotchas and tidbits, oh my.</description>
	<lastBuildDate>Wed, 28 Jul 2010 19:28:41 +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>Set up JAVA_HOME to track Java Preferences.app on Mac OS X</title>
		<link>http://matthew.mceachen.us/blog/set-up-java_home-to-track-java-preferences-app-on-mac-os-x-847.html</link>
		<comments>http://matthew.mceachen.us/blog/set-up-java_home-to-track-java-preferences-app-on-mac-os-x-847.html#comments</comments>
		<pubDate>Mon, 29 Mar 2010 16:40:57 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[shell hackery]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=847</guid>
		<description><![CDATA[Mac OS X&#8217;s Java Preferences.app has a pane for switching between versions of the JDK, but I just found out from a coworker (thanks, Mike!) that you can make your shell match that preference easily &#8212; just add this to &#8230; <a href="http://matthew.mceachen.us/blog/set-up-java_home-to-track-java-preferences-app-on-mac-os-x-847.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/set-up-java_home-to-track-java-preferences-app-on-mac-os-x-847.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HOWTO install etherpad on ubuntu 9.10</title>
		<link>http://matthew.mceachen.us/blog/howto-install-etherpad-on-ubuntu-9-10-811.html</link>
		<comments>http://matthew.mceachen.us/blog/howto-install-etherpad-on-ubuntu-9-10-811.html#comments</comments>
		<pubDate>Tue, 02 Mar 2010 07:14:17 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[etherpad]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[shell hackery]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=811</guid>
		<description><![CDATA[Etherpad was opensourced by google, and has some generic installation instructions. Here&#8217;s the translation for Ubuntu Karmic Koala (release 9.10): Install the prerequisites: sudo apt-get install mysql-server-5.1 mercurial sun-java6-jdk sun-java6-jre sun-java6-bin cd /tmp wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.12.tar.gz/from/http://mysql.he.net/ wget http://www.scala-lang.org/downloads/distrib/files/scala-2.7.7.final.tgz sudo mkdir -p &#8230; <a href="http://matthew.mceachen.us/blog/howto-install-etherpad-on-ubuntu-9-10-811.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/howto-install-etherpad-on-ubuntu-9-10-811.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Convert Your Book&#8217;s Images to Kindle</title>
		<link>http://matthew.mceachen.us/blog/how-to-convert-your-book-images-to-kindle-654.html</link>
		<comments>http://matthew.mceachen.us/blog/how-to-convert-your-book-images-to-kindle-654.html#comments</comments>
		<pubDate>Sat, 07 Nov 2009 19:53:10 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[sh]]></category>
		<category><![CDATA[shell hackery]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=654</guid>
		<description><![CDATA[Taking your painstakingly typeset book and shoving it through the kindle &#8220;conversion&#8221; meatgrinder was an exercise in wincing. Most of the images were corrupted, there was whitespace sprinkled randomly throughout the copy, and it was a general mess. Kindle supports &#8230; <a href="http://matthew.mceachen.us/blog/how-to-convert-your-book-images-to-kindle-654.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/how-to-convert-your-book-images-to-kindle-654.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Mac OS X 10.5&#8242;s keychain for ssh</title>
		<link>http://matthew.mceachen.us/blog/using-mac-os-x-keychain-for-ssh-526.html</link>
		<comments>http://matthew.mceachen.us/blog/using-mac-os-x-keychain-for-ssh-526.html#comments</comments>
		<pubDate>Sun, 26 Jul 2009 23:09:19 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[shell hackery]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=526</guid>
		<description><![CDATA[The version of ssh that comes with Mac OS X 10.5.6 has a -K option that stores your passphrases in your system&#8217;s keychain. Run this: ssh-add -K [path to private keyfile] Provide your passphrase once when asked, and keychain will &#8230; <a href="http://matthew.mceachen.us/blog/using-mac-os-x-keychain-for-ssh-526.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/using-mac-os-x-keychain-for-ssh-526.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Make &#8220;ps -ef&#8221; work in a shell on Mac OS X</title>
		<link>http://matthew.mceachen.us/blog/make-ps-ef-work-on-mac-os-x-123.html</link>
		<comments>http://matthew.mceachen.us/blog/make-ps-ef-work-on-mac-os-x-123.html#comments</comments>
		<pubDate>Thu, 11 Sep 2008 04:47:05 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[shell hackery]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=123</guid>
		<description><![CDATA[If you&#8217;re used to SunOS or BSD, you&#8217;ll be at home with Mac OS X&#8217;s &#8220;ps -aux&#8221; to get a process list from a shell prompt. If you&#8217;ve been using any other recent unix, though, your fingers will want to &#8230; <a href="http://matthew.mceachen.us/blog/make-ps-ef-work-on-mac-os-x-123.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/make-ps-ef-work-on-mac-os-x-123.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preventing an external hard drive from idling on ubuntu</title>
		<link>http://matthew.mceachen.us/blog/preventing-an-external-hard-drive-from-idling-on-ubuntu-52.html</link>
		<comments>http://matthew.mceachen.us/blog/preventing-an-external-hard-drive-from-idling-on-ubuntu-52.html#comments</comments>
		<pubDate>Mon, 09 Jun 2008 12:07:35 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[shell hackery]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=52</guid>
		<description><![CDATA[I got a Seagate FreeAgent Pro external hard drive for backups (JWZ has a very straightforward article about this). It happily reformatted to ext3, and I kicked off an rsync of /home. Because rsync figures out what files need copying &#8230; <a href="http://matthew.mceachen.us/blog/preventing-an-external-hard-drive-from-idling-on-ubuntu-52.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/preventing-an-external-hard-drive-from-idling-on-ubuntu-52.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dealing with a directory with ~&#8734; files</title>
		<link>http://matthew.mceachen.us/blog/dealing-with-a-directory-with-tons-of-files-40.html</link>
		<comments>http://matthew.mceachen.us/blog/dealing-with-a-directory-with-tons-of-files-40.html#comments</comments>
		<pubDate>Wed, 23 Apr 2008 23:00:08 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[shell hackery]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=40</guid>
		<description><![CDATA[Got a directory with > 10K of files? Need to move them up one directory? mv will fail you: $ mv * .. -bash: /bin/mv: Argument list too long The solution is to list the files one line at a &#8230; <a href="http://matthew.mceachen.us/blog/dealing-with-a-directory-with-tons-of-files-40.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/dealing-with-a-directory-with-tons-of-files-40.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verifying file integrity with debsums</title>
		<link>http://matthew.mceachen.us/blog/verifying-file-integrity-with-debsums-38.html</link>
		<comments>http://matthew.mceachen.us/blog/verifying-file-integrity-with-debsums-38.html#comments</comments>
		<pubDate>Mon, 21 Apr 2008 16:11:24 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[debsums]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rkhunter]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shell hackery]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=38</guid>
		<description><![CDATA[After upgrading my Ubuntu server, some security applications grumped about changed contents of some common binaries. Just to be safe, I wanted to verify them explicitly with debsums, but debsums looks for package names, not paths to binaries. Here&#8217;s a &#8230; <a href="http://matthew.mceachen.us/blog/verifying-file-integrity-with-debsums-38.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/verifying-file-integrity-with-debsums-38.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running a command for all files whose name matches&#8230;</title>
		<link>http://matthew.mceachen.us/blog/running-a-command-for-all-files-whose-name-matches-30.html</link>
		<comments>http://matthew.mceachen.us/blog/running-a-command-for-all-files-whose-name-matches-30.html#comments</comments>
		<pubDate>Mon, 21 Apr 2008 05:14:06 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell hackery]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=30</guid>
		<description><![CDATA[I found a stray image named &#8220;img_1234.jpg&#8221; on a laptop and wanted to see if I already had it on my server. On my Mac I could use spotlight&#8217;s nifty &#8220;kind:image&#8221; filter along with quicklook. Macworld has a great article &#8230; <a href="http://matthew.mceachen.us/blog/running-a-command-for-all-files-whose-name-matches-30.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/running-a-command-for-all-files-whose-name-matches-30.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursive sort-by-modification-time</title>
		<link>http://matthew.mceachen.us/blog/recursive-sort-by-modification-time-5.html</link>
		<comments>http://matthew.mceachen.us/blog/recursive-sort-by-modification-time-5.html#comments</comments>
		<pubDate>Mon, 04 Oct 2004 07:43:33 +0000</pubDate>
		<dc:creator>matthew</dc:creator>
				<category><![CDATA[Technical HOWTOs]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell hackery]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=5</guid>
		<description><![CDATA[This certainly isn&#8217;t rocket science, but it also is certainly not something you want to type more than once. find . -type f -printf '%T@\t%p\n' &#124; sort -n &#124; cut -f2 And an application using feh: find . -type f &#8230; <a href="http://matthew.mceachen.us/blog/recursive-sort-by-modification-time-5.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://matthew.mceachen.us/blog/recursive-sort-by-modification-time-5.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
