<?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>GraysUnderground.com &#187; Linux</title>
	<atom:link href="http://www.graysunderground.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.graysunderground.com</link>
	<description>Gray's Tech Blog</description>
	<lastBuildDate>Thu, 12 Jan 2012 23:41:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Delete all files older than a certain amount of days</title>
		<link>http://www.graysunderground.com/2010/09/20/delete-all-files-older-than-a-certain-amount-of-days/</link>
		<comments>http://www.graysunderground.com/2010/09/20/delete-all-files-older-than-a-certain-amount-of-days/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 19:19:43 +0000</pubDate>
		<dc:creator>Gray</dc:creator>
				<category><![CDATA[Linux]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.graysunderground.com/2010/09/20/delete-all-files-older-than-a-certain-amount-of-days/</guid>
		<description><![CDATA[Found a nice little clean up command to clean up folders and files older than a specfic amount of days: find /path/to/files/* -mtime +90 -exec rm {} \; Just replace the 90 with the number of days old you want to delete. You can also pipe it into a log file: bash -c ‘date;find /path/to/files* [...]]]></description>
			<content:encoded><![CDATA[<p>Found a nice little clean up command to clean up folders and files older than a specfic amount of days:</p>
<p>find /path/to/files/* -mtime +90 -exec rm {} \;</p>
<p>Just replace the 90 with the number of days old you want to delete.</p>
<p>You can also pipe it into a log file:</p>
<p>bash -c ‘date;find /path/to/files* -mtime +5 -exec rm -v {} \;;date’ &gt; ~/mylog</p>
]]></content:encoded>
			<wfw:commentRss>http://www.graysunderground.com/2010/09/20/delete-all-files-older-than-a-certain-amount-of-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run command as apache in centos</title>
		<link>http://www.graysunderground.com/2010/05/06/run-command-as-apache-in-centos/</link>
		<comments>http://www.graysunderground.com/2010/05/06/run-command-as-apache-in-centos/#comments</comments>
		<pubDate>Fri, 07 May 2010 00:41:25 +0000</pubDate>
		<dc:creator>Gray</dc:creator>
				<category><![CDATA[Linux]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.graysunderground.com/2010/05/06/run-command-as-apache-in-centos/</guid>
		<description><![CDATA[Here is how you run a command as apache in centos without giving apache a valid shell. su -s /bin/sh apache -c &#8220;whoami&#8221;]]></description>
			<content:encoded><![CDATA[<p>Here is how you run a command as apache in centos without giving apache a valid shell.</p>
<p>su -s /bin/sh apache -c &#8220;whoami&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.graysunderground.com/2010/05/06/run-command-as-apache-in-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; CentOS &#8211; Mail &#8212; Delete alll mail in centos using mail</title>
		<link>http://www.graysunderground.com/2008/11/04/linux-centos-mail-delete-alll-mail-in-centos-using-mail/</link>
		<comments>http://www.graysunderground.com/2008/11/04/linux-centos-mail-delete-alll-mail-in-centos-using-mail/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 15:32:03 +0000</pubDate>
		<dc:creator>Gray</dc:creator>
				<category><![CDATA[Linux]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.graysunderground.com/2008/11/04/linux-centos-mail-delete-alll-mail-in-centos-using-mail/</guid>
		<description><![CDATA[Just run the following command from the command line: echo 'd *' &#124; mail -N]]></description>
			<content:encoded><![CDATA[<p>Just run the following command from the command line:</p>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: auto; height: 34px">echo 'd *' | mail -N</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.graysunderground.com/2008/11/04/linux-centos-mail-delete-alll-mail-in-centos-using-mail/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linux Cheat Sheet</title>
		<link>http://www.graysunderground.com/2007/02/09/hello-world/</link>
		<comments>http://www.graysunderground.com/2007/02/09/hello-world/#comments</comments>
		<pubDate>Fri, 09 Feb 2007 21:11:23 +0000</pubDate>
		<dc:creator>Gray</dc:creator>
				<category><![CDATA[Linux]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false"></guid>
		<description><![CDATA[For those of us, lucky enough to be Linux Sys admins, Network admin, App Programmer and Tech support, you sometimes need some help. I keep cheet sheets on hand for every app, network appliance, box, system or peice of junk just so I can get the job done without loosing my mind. In my repertoire [...]]]></description>
			<content:encoded><![CDATA[<p>For those of us, lucky enough to be Linux Sys admins, Network admin, App Programmer and Tech support, you sometimes need some help. I keep cheet sheets on hand for every app, network appliance, box, system or peice of junk just so I can get the job done without loosing my mind. In my repertoire of cheat sheets in teh all purpose linux cheat sheet that I refer to when I don&#8217;t know or can&#8217;t think straight. Its handy and will help with most distros.</p>
<p><a href="http://www.pixelbeat.org/cmdline.html">http://www.pixelbeat.org/cmdline.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.graysunderground.com/2007/02/09/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

