<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>johnjones.org</title>
  <subtitle>Life is a journey, not a destination</subtitle>
  <link rel="alternate" type="text/html" href="http://johnjones.org/2007/07/linux_finding_text_inside_file.html"/>
  <link rel="self" type="application/atom+xml" href="http://johnjones.org/node/17/atom/feed"/>
  <id>http://johnjones.org/node/17/atom/feed</id>
  <updated>2008-08-17T12:21:53+00:00</updated>
  <entry>
    <title>Linux finding text inside files</title>
    <link rel="alternate" type="text/html" href="http://johnjones.org/2007/07/linux_finding_text_inside_file.html" />
    <id>http://johnjones.org/2007/07/linux_finding_text_inside_file.html</id>
    <published>2007-07-09T23:00:00+00:00</published>
    <updated>2008-08-17T12:21:53+00:00</updated>
    <author>
      <name>Anonymous</name>
    </author>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Well this one is just so I remember how to do this, I keep forgetting the exact syntax and have to look it up on other sites, so if I put it on mine I know where it is....<br />
in the shell<br />
find . -type f -exec grep -i "phrase to find" {} \; -print<br />
this finds starting from the "." location all files that contain the "phrase to find" and in a case insensitive way.</p>
    </div></summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Well this one is just so I remember how to do this, I keep forgetting the exact syntax and have to look it up on other sites, so if I put it on mine I know where it is....</p>
<p>in the shell</p>
<p>find . -type f -exec grep -i "phrase to find" {} \; -print</p>
<p>this finds starting from the "." location all files that contain the "phrase to find" and in a case insensitive way.</p>
    </div></content>
  </entry>
</feed>
