<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Grep Help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771585#M102040</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt; This will do,&lt;BR /&gt;&lt;BR /&gt; for I in `find /dir/subdir/. -print`&lt;BR /&gt; do&lt;BR /&gt; grep "string" $I&lt;BR /&gt; done&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shahul</description>
    <pubDate>Thu, 13 Apr 2006 10:47:12 GMT</pubDate>
    <dc:creator>Shahul</dc:creator>
    <dc:date>2006-04-13T10:47:12Z</dc:date>
    <item>
      <title>Grep Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771582#M102037</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am wondering if there is a command/script to grep words from numerous configuration files in 30+ subdirectries.&lt;BR /&gt;&lt;BR /&gt;I use:&lt;BR /&gt;&lt;BR /&gt;grep "test.com" /disk1/oracle/* |more&lt;BR /&gt;&lt;BR /&gt;it only search a file right under /disk1/oracle.  I need 30 subdir under it that are all searched.&lt;BR /&gt;&lt;BR /&gt;Any comment are very appreciated.&lt;BR /&gt;&lt;BR /&gt;Steven</description>
      <pubDate>Thu, 13 Apr 2006 10:32:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771582#M102037</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2006-04-13T10:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Grep Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771583#M102038</link>
      <description>Try the find command:&lt;BR /&gt;&lt;BR /&gt;find /desk1/oracle -exec grep -l "test.com" {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 13 Apr 2006 10:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771583#M102038</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-04-13T10:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Grep Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771584#M102039</link>
      <description>Hi Steven:&lt;BR /&gt;&lt;BR /&gt;The following will 'grep' within all subdirectories; be resource-conservative; *and* show you the filename associated with any matches:&lt;BR /&gt;&lt;BR /&gt;# find /disk1/oracle -xdev -type f | xargs grep -i "test.com"&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 13 Apr 2006 10:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771584#M102039</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-04-13T10:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Grep Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771585#M102040</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; This will do,&lt;BR /&gt;&lt;BR /&gt; for I in `find /dir/subdir/. -print`&lt;BR /&gt; do&lt;BR /&gt; grep "string" $I&lt;BR /&gt; done&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shahul</description>
      <pubDate>Thu, 13 Apr 2006 10:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771585#M102040</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-04-13T10:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Grep Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771586#M102041</link>
      <description>I'd use GNU grep&lt;BR /&gt;&lt;BR /&gt;# grep -r -w test.com /disk1/oracle&lt;BR /&gt;&lt;BR /&gt;-r grep recursively&lt;BR /&gt;-w grep word anchored&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 13 Apr 2006 11:33:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/grep-help/m-p/3771586#M102041</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-04-13T11:33:04Z</dc:date>
    </item>
  </channel>
</rss>

