<?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: command to look thru every file on server for &amp;quot;8.1.6&amp;quot; in it in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880222#M400342</link>
    <description>HI,&lt;BR /&gt;I assume you are trying to eliminate an oracle install. The official, and only supported, path is to use the installer program. Executables may have also being linked against 8.1.6 libraries, but will not show in any of the above!&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 17 Jan 2005 02:46:21 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2005-01-17T02:46:21Z</dc:date>
    <item>
      <title>command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880215#M400335</link>
      <description>What would be the proper command to look thru every file on the server and let me know when it fould 8.1.6 in it?</description>
      <pubDate>Fri, 14 Jan 2005 15:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880215#M400335</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2005-01-14T15:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880216#M400336</link>
      <description>You could probably do something like:&lt;BR /&gt;&lt;BR /&gt;find / -type f -exec grep 8.1.6 {} \;&lt;BR /&gt;&lt;BR /&gt;BUT, that can be somewhat intensive.  If you could limit it to a set of subdirectories it would probably be better.&lt;BR /&gt;&lt;BR /&gt;-dave</description>
      <pubDate>Fri, 14 Jan 2005 15:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880216#M400336</guid>
      <dc:creator>David DeWitt_2</dc:creator>
      <dc:date>2005-01-14T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880217#M400337</link>
      <description>My bad.  There are other tweaks.  You may need to use the -F option on grep to ensure it searches for a fixed string.  "man grep" for details.  You may also want to search for an option to search for files only of an ASCII type.  Binaries don't search too well.&lt;BR /&gt;&lt;BR /&gt;-dave</description>
      <pubDate>Fri, 14 Jan 2005 15:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880217#M400337</guid>
      <dc:creator>David DeWitt_2</dc:creator>
      <dc:date>2005-01-14T15:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880218#M400338</link>
      <description>You probably don't want to blindly throw grep at files without first determining if these are some sore of text files (shell scripts, Perl scripts, ascii text). Fortunately the "file" command will do that and return "text" ("ascii text", "commands text", etc.) If you fail to do this test then grep can explode.&lt;BR /&gt;&lt;BR /&gt;cd to desired starting directory:&lt;BR /&gt;&lt;BR /&gt;find . -type f | while read X&lt;BR /&gt;  do&lt;BR /&gt;     file "${X}" | grep -q -i "text"&lt;BR /&gt;     STAT=${?}&lt;BR /&gt;     if [[ ${STAT} -eq 0 ]]&lt;BR /&gt;       then&lt;BR /&gt;          grep -q '8.1.6' "${X}"&lt;BR /&gt;          if [[ ${STAT} -eq 0 ]]&lt;BR /&gt;            then&lt;BR /&gt;              echo "${X}"&lt;BR /&gt;            fi&lt;BR /&gt;       fi&lt;BR /&gt;  done&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jan 2005 15:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880218#M400338</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-14T15:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880219#M400339</link>
      <description>find . -type f 2&amp;gt; /dev/null|xargs file {}|grep "text"|awk '{print $1}'|awk -F : '{print $1}'|while read a;do grep -i "8.1.6" $a 2&amp;gt;/de/null &amp;amp;&amp;amp; ll $a;done&lt;BR /&gt;&lt;BR /&gt;This may kill cpu. And running it from / is a problem. also you may want to have a look at grep man page for optons like -i, -w , -w etc.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 14 Jan 2005 15:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880219#M400339</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-01-14T15:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880220#M400340</link>
      <description>One small correction to some of the above &lt;BR /&gt;answers. grep for "8.1.6" string would match&lt;BR /&gt;"8a1b6" too as '.' means any single char.&lt;BR /&gt;Kind of like single char wildcard. So you might&lt;BR /&gt;want to grep for "8\.1\.6"&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jan 2005 16:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880220#M400340</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-14T16:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880221#M400341</link>
      <description>also you can use&lt;BR /&gt;&lt;BR /&gt;find / -name "*" -exec grep -il "8.1.6" {} \;&lt;BR /&gt;&lt;BR /&gt;This will search all dir's and sub dir's below / and list the files where 8.1.6 is found&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Sat, 15 Jan 2005 06:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880221#M400341</guid>
      <dc:creator>lawrenzo_1</dc:creator>
      <dc:date>2005-01-15T06:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880222#M400342</link>
      <description>HI,&lt;BR /&gt;I assume you are trying to eliminate an oracle install. The official, and only supported, path is to use the installer program. Executables may have also being linked against 8.1.6 libraries, but will not show in any of the above!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jan 2005 02:46:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880222#M400342</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-01-17T02:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880223#M400343</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;find / -type f -exec grep 8.1.6 {} \;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jan 2005 03:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880223#M400343</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2005-01-17T03:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: command to look thru every file on server for "8.1.6" in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880224#M400344</link>
      <description>YOU NEED TO ESCAPE THE NUMBERS!&lt;BR /&gt;&lt;BR /&gt;find . -type f | while read X &lt;BR /&gt;strings $X | egrep '8\.1\.6'&lt;BR /&gt;if [ $? -eq 0 ];then&lt;BR /&gt;echo $X &amp;gt;&amp;gt;/tmp/816.m&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jan 2005 08:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-look-thru-every-file-on-server-for-quot-8-1-6-quot-in/m-p/4880224#M400344</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2005-01-17T08:02:35Z</dc:date>
    </item>
  </channel>
</rss>

