<?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: HP-UX 10.20 finding pattern.!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347601#M869815</link>
    <description>Thanks Therrie , Franky , Muthukumar and all who replied. &lt;BR /&gt;&lt;BR /&gt;Well it is taking lond time , is there any way to find out the string "80.0.0.10" , for ASCII files only.&lt;BR /&gt;&lt;BR /&gt;i wanted to know which files in oracle is using the IP address , or hostname .&lt;BR /&gt;&lt;BR /&gt;ASCII file searching only would be a good options. And feedback will be appreciated.&lt;BR /&gt;&lt;BR /&gt;Raj .D&lt;BR /&gt;-------</description>
    <pubDate>Tue, 03 Aug 2004 04:06:52 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2004-08-03T04:06:52Z</dc:date>
    <item>
      <title>HP-UX 10.20 finding pattern.!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347595#M869809</link>
      <description>Hi all , &lt;BR /&gt;&lt;BR /&gt;How do i do recursive grep , for a pattern in HP-UX 10.20 .&lt;BR /&gt;&lt;BR /&gt;I want to search the string "80.0.0.10" in all the files from root. &lt;BR /&gt;&lt;BR /&gt;Please help me .&lt;BR /&gt;&lt;BR /&gt;Raj. D&lt;BR /&gt;-------</description>
      <pubDate>Tue, 03 Aug 2004 02:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347595#M869809</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-08-03T02:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 finding pattern.!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347596#M869810</link>
      <description>hi, &lt;BR /&gt;  &lt;BR /&gt;find / -type f -exec grep -l "80.0.0.10" {} \;&lt;BR /&gt; &lt;BR /&gt;but be aware of high system load.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Tue, 03 Aug 2004 02:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347596#M869810</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-08-03T02:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 finding pattern.!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347597#M869811</link>
      <description>Hi Raj,&lt;BR /&gt;&lt;BR /&gt;simply type &lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;for i in `ls`&lt;BR /&gt;do&lt;BR /&gt;grep -l '80.0.0.10' $i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Simple and fast :-)&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Tue, 03 Aug 2004 02:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347597#M869811</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-08-03T02:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 finding pattern.!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347598#M869812</link>
      <description>As Thierry wrote:&lt;BR /&gt;I suggest to use find and define/specify name of files. Otherwise it will take too long time to look inside all files. It is usuallu ascii/conf files.&lt;BR /&gt;&lt;BR /&gt;find / -name "file*.*" -type f -exec grep -l "80.0.0.10" {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 02:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347598#M869812</guid>
      <dc:creator>Petr Simik_1</dc:creator>
      <dc:date>2004-08-03T02:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 finding pattern.!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347599#M869813</link>
      <description>You can do it as ,&lt;BR /&gt;&lt;BR /&gt; grep '90.0.0.10' `find &lt;DIR&gt; -name "*"`&lt;BR /&gt;&lt;BR /&gt; If you are going to search in all files, there will be some problem.&lt;BR /&gt;&lt;BR /&gt; grep will make problem on searching a patter in an object executable files.&lt;BR /&gt;&lt;BR /&gt; It is good to use some extensions of a file.&lt;BR /&gt;&lt;BR /&gt; Example:&lt;BR /&gt; grep '80.0.0.10' `find . -name "*.log"`&lt;BR /&gt; ./test.log:80.0.0.10&lt;BR /&gt;&lt;BR /&gt; -- muthu --&lt;BR /&gt;&lt;BR /&gt;&lt;/DIR&gt;</description>
      <pubDate>Tue, 03 Aug 2004 03:08:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347599#M869813</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-03T03:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 finding pattern.!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347600#M869814</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;my proposal is fast if it's in the straight line - otherwise you'll have to use the `ls -R` option which takes longer time.&lt;BR /&gt;If you want to use the "find" - option then you can limit the search through the use of "-xdev" (without crossing mount points) which would speed up the search &lt;BR /&gt;&lt;BR /&gt;find / -xdev -type f -exec ...&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Tue, 03 Aug 2004 03:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347600#M869814</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-08-03T03:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 finding pattern.!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347601#M869815</link>
      <description>Thanks Therrie , Franky , Muthukumar and all who replied. &lt;BR /&gt;&lt;BR /&gt;Well it is taking lond time , is there any way to find out the string "80.0.0.10" , for ASCII files only.&lt;BR /&gt;&lt;BR /&gt;i wanted to know which files in oracle is using the IP address , or hostname .&lt;BR /&gt;&lt;BR /&gt;ASCII file searching only would be a good options. And feedback will be appreciated.&lt;BR /&gt;&lt;BR /&gt;Raj .D&lt;BR /&gt;-------</description>
      <pubDate>Tue, 03 Aug 2004 04:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347601#M869815</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-08-03T04:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 finding pattern.!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347602#M869816</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;as a workaround you can try the following :&lt;BR /&gt;&lt;BR /&gt;for i in `ls -R`&lt;BR /&gt;do&lt;BR /&gt;file $i|grep ascii&lt;BR /&gt;if test $? = 0&lt;BR /&gt;then&lt;BR /&gt;grep -l '80.0.0.10' $i&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Tue, 03 Aug 2004 06:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-finding-pattern/m-p/3347602#M869816</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-08-03T06:35:43Z</dc:date>
    </item>
  </channel>
</rss>

