<?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>Stuff... &#187; One Liners</title>
	<atom:link href="http://www.moe.co.uk/category/coding/one-liners/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.moe.co.uk</link>
	<description>I know I will forget.</description>
	<lastBuildDate>Wed, 04 Jan 2012 04:35:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Show disk usage excluding some directory structures</title>
		<link>http://www.moe.co.uk/2011/12/14/show-disk-usage-excluding-some-directory-structures/</link>
		<comments>http://www.moe.co.uk/2011/12/14/show-disk-usage-excluding-some-directory-structures/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 05:45:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[One Liners]]></category>
		<category><![CDATA[Operating System]]></category>

		<guid isPermaLink="false">http://www.moe.co.uk/?p=789</guid>
		<description><![CDATA[Wanted to do a quick &#8220;du -sh&#8221; on only the directories in / (&#8216;root&#8217;) and NOT any of the mounted partitions.  This one liner worked nicely: cd / ls -la / &#124; awk &#8216;{ print $9 }&#8217; &#124; egrep -v &#8216;boot&#124;part1&#124;var&#124;\.&#8217; &#124; xargs du -sh]]></description>
		<wfw:commentRss>http://www.moe.co.uk/2011/12/14/show-disk-usage-excluding-some-directory-structures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Default a port on old Cisco 3548</title>
		<link>http://www.moe.co.uk/2010/06/20/default-a-port-on-old-cisco-3548/</link>
		<comments>http://www.moe.co.uk/2010/06/20/default-a-port-on-old-cisco-3548/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 02:36:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[One Liners]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3548]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[default interface]]></category>
		<category><![CDATA[default port]]></category>

		<guid isPermaLink="false">http://www.moe.co.uk/?p=468</guid>
		<description><![CDATA[I wanted to default the configuration of a number of ports on an old Cisco 3548. The latest version of IOS support on this system does not support the range command, so, had to manually run a small script (bash 1 liner on linux) and paste in the contents: $ for i in `seq 40 [...]]]></description>
		<wfw:commentRss>http://www.moe.co.uk/2010/06/20/default-a-port-on-old-cisco-3548/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove ^M&#8217;s from a file or more</title>
		<link>http://www.moe.co.uk/2009/01/26/remove-ms-from-a-file-or-more/</link>
		<comments>http://www.moe.co.uk/2009/01/26/remove-ms-from-a-file-or-more/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 14:40:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[One Liners]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[remove ^M]]></category>

		<guid isPermaLink="false">http://www.moe.co.uk/wordpress/2009/01/26/remove-ms-from-a-file-or-more/</guid>
		<description><![CDATA[How to remove ^M from within a file: perl -pi -e 'y/\015//d'filename]]></description>
		<wfw:commentRss>http://www.moe.co.uk/2009/01/26/remove-ms-from-a-file-or-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

