<?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>mikerochford.com &#187; One Liner</title>
	<atom:link href="http://mikerochford.com/blog/category/one-liner/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikerochford.com/blog</link>
	<description>Being technical</description>
	<lastBuildDate>Thu, 16 Jun 2011 19:02:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Verifying your Linux Distro is 64bit.</title>
		<link>http://mikerochford.com/blog/2011/01/20/verifying-your-linux-distro-is-64bit/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://mikerochford.com/blog/2011/01/20/verifying-your-linux-distro-is-64bit/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 13:32:08 +0000</pubDate>
		<dc:creator>mrochford</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[One Liner]]></category>

		<guid isPermaLink="false">http://mikerochford.com/blog/?p=117</guid>
		<description><![CDATA[I ran into a situation that I had to verify that I was running a 64bit os. Below is a quick command line check. It checks based on the current kernel loaded. mrochford@host1:~$ fgrep CONFIG_64BIT /boot/config-`uname -r` CONFIG_64BIT=y mrochford@host1:~$]]></description>
			<content:encoded><![CDATA[<p>I ran into a situation that I had to verify that I was running a 64bit os. Below is a quick command line check. It checks based on the current kernel loaded. </p>
<p><code><br />
mrochford@host1:~$ fgrep CONFIG_64BIT /boot/config-`uname -r`<br />
CONFIG_64BIT=y<br />
mrochford@host1:~$<br />
</code></p>
<img src="http://mikerochford.com/blog/?ak_action=api_record_view&id=117&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mikerochford.com/blog/2011/01/20/verifying-your-linux-distro-is-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run a command randomly</title>
		<link>http://mikerochford.com/blog/2010/09/22/run-a-command-randomly/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://mikerochford.com/blog/2010/09/22/run-a-command-randomly/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 18:58:11 +0000</pubDate>
		<dc:creator>mrochford</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[One Liner]]></category>

		<guid isPermaLink="false">http://mikerochford.com/blog/?p=110</guid>
		<description><![CDATA[I wanted to run a command randomly everyday. Here is a one liner cron that I created. echo "" &#124; at now + `awk -vu=30 'BEGIN { srand(); printf( "%0.0f\n", rand() * u ); }'` minutes]]></description>
			<content:encoded><![CDATA[<p>I wanted to run a command randomly everyday. Here is a one liner cron that I created. </p>
<p><code><br />
echo "<what you want to run randomly>" | at now + `awk -vu=30 'BEGIN { srand(); printf( "%0.0f\n", rand() * u ); }'` minutes<br />
</code></p>
<img src="http://mikerochford.com/blog/?ak_action=api_record_view&id=110&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mikerochford.com/blog/2010/09/22/run-a-command-randomly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving a directory from one host to another using tar over ssh</title>
		<link>http://mikerochford.com/blog/2009/11/18/moving-a-directory-from-one-host-to-another-using-tar-over-ssh/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://mikerochford.com/blog/2009/11/18/moving-a-directory-from-one-host-to-another-using-tar-over-ssh/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 17:28:00 +0000</pubDate>
		<dc:creator>mrochford</dc:creator>
				<category><![CDATA[One Liner]]></category>

		<guid isPermaLink="false">http://mikerochford.com/blog/?p=101</guid>
		<description><![CDATA[tar cf - * &#124; ssh]]></description>
			<content:encoded><![CDATA[<p><code lang="bash">tar cf - * | ssh <username@<hostname> "(cd <destination_dir> &#038;& tar xf -)"</code></p>
<img src="http://mikerochford.com/blog/?ak_action=api_record_view&id=101&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mikerochford.com/blog/2009/11/18/moving-a-directory-from-one-host-to-another-using-tar-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

