<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Linux on Ricky Moorhouse</title>
    <link>https://rickymoorhouse.uk/categories/linux/</link>
    <description>Recent content in Linux on Ricky Moorhouse</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Mon, 10 May 2010 21:06:51 +0000</lastBuildDate>
    <atom:link href="https://rickymoorhouse.uk/categories/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>NAS Hacking</title>
      <link>https://rickymoorhouse.uk/blog/2010/nas-hacking/</link>
      <pubDate>Mon, 10 May 2010 21:06:51 +0000</pubDate>
      <guid>https://rickymoorhouse.uk/blog/2010/nas-hacking/</guid>
      <description>&lt;p&gt;A while back, we close to filling up the partition on our desktop machine with photos, so I decided to get a second hard drive.  In the end, instead of a hard drive, I decided to by the &lt;a href=&#34;http://www.wdc.com/en/products/products.asp?driveid=586&#34;&gt;WD My Book World Edition&lt;/a&gt; which is a basic Linux server with a 1TB hard drive.&lt;/p&gt;&#xA;&lt;p&gt;Here&#39;s my notes on what I&#39;ve done with it so far:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Enable ssh&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Install optware&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Install some useful optware packages (e.g. cron, perl etc)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Delete directories older than 90 days</title>
      <link>https://rickymoorhouse.uk/blog/2010/delete-directories-older-than-90-days/</link>
      <pubDate>Thu, 21 Jan 2010 10:25:16 +0000</pubDate>
      <guid>https://rickymoorhouse.uk/blog/2010/delete-directories-older-than-90-days/</guid>
      <description>&lt;p&gt;&lt;code&gt;find /var/log/hostdb/* -type d -mtime +90 -exec rm -rf {} ;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;-type d&#xA;only look at directories, f would be files&#xA;-mtime +90&#xA;modified time greater than 90 days ago&lt;/p&gt;</description>
    </item>
    <item>
      <title>Watching log files for something</title>
      <link>https://rickymoorhouse.uk/blog/2007/watching-log-files-for-something/</link>
      <pubDate>Thu, 30 Aug 2007 23:00:00 +0000</pubDate>
      <guid>https://rickymoorhouse.uk/blog/2007/watching-log-files-for-something/</guid>
      <description>&lt;p&gt;Found from: &lt;a href=&#34;http://blog.nominet.org.uk/tech/2005/05/26/tail-f-with-highlighting/&#34;&gt;techblog&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;tail -f /var/log/apache2/access_log | sed &amp;quot;s/rss/Ctrl+vCtrl+[[41;1mrssCtrl+vCtrl+[[0m/g&amp;quot;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;This example is looking for people accessing the rss feed so I can see how frequently it gets hit (whilst still seeing what else is going on).  With this I spotted that one of the Firefox extensions I was using(&lt;a href=&#34;http://piclens.com&#34;&gt;piclens&lt;/a&gt;) was automatically downloading the detected rss feed with every page access. It&#39;s a nice extension and I can see why it does that, but I don&#39;t want to be accessing rss feeds automatically and potentially multiple times as I use sites.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
