<?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: find command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036720#M906471</link>
    <description>How about trying this:&lt;BR /&gt;&lt;BR /&gt;find / -name a.sql -exec ls -ld {} \;&lt;BR /&gt;&lt;BR /&gt;It works for me when I try to find master.d in /usr/conf with:&lt;BR /&gt;&lt;BR /&gt;find /usr/conf -name master.d -exec ls -ld {} \;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;-erich (Eric Herberholz)</description>
    <pubDate>Thu, 31 Jul 2003 14:37:56 GMT</pubDate>
    <dc:creator>Eric Herberholz</dc:creator>
    <dc:date>2003-07-31T14:37:56Z</dc:date>
    <item>
      <title>find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036716#M906467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could anybody please tell me  how do i get this.&lt;BR /&gt;I only need the directory which contains a.sql file . But it keeps showing me all the directory with this annoying &lt;BR /&gt;find: cannot open xxxx messages&lt;BR /&gt;when i do &lt;BR /&gt;find / -name a.sql -print &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 22:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036716#M906467</guid>
      <dc:creator>prasad_15</dc:creator>
      <dc:date>2003-07-29T22:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036717#M906468</link>
      <description>Hi Prasad,&lt;BR /&gt;&lt;BR /&gt;To get rid of the annoying messages, redirect std error:&lt;BR /&gt;&lt;BR /&gt;find / -name a.sql -print 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Tue, 29 Jul 2003 23:00:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036717#M906468</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-07-29T23:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036718#M906469</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You get these messages if you are running the find command as a non root user.  Its basically telling you that it cannot read directories as it doesn't have permission, therefore if your file resides in these directories, it won't find it.&lt;BR /&gt;&lt;BR /&gt;To fix the "problem" run the command as root.  &lt;BR /&gt;&lt;BR /&gt;One bit of advice, running "find / ..." can have an impact on system performance.  If you have some idea where the file is, narrow the search as in:&lt;BR /&gt;# find /oracle /application -name "a.sql" -print&lt;BR /&gt;&lt;BR /&gt;For example this searches /oracle &amp;amp; /application directories &amp;amp; all sub directories for a.sql file.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Tue, 29 Jul 2003 23:03:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036718#M906469</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-29T23:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036719#M906470</link>
      <description>Hi prasad,&lt;BR /&gt;&lt;BR /&gt;Even better, if you want to return just the directory containing the file a.sql, try:&lt;BR /&gt;&lt;BR /&gt;find / -name a.sql -exec dirname {} \; 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Tue, 29 Jul 2003 23:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036719#M906470</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-07-29T23:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036720#M906471</link>
      <description>How about trying this:&lt;BR /&gt;&lt;BR /&gt;find / -name a.sql -exec ls -ld {} \;&lt;BR /&gt;&lt;BR /&gt;It works for me when I try to find master.d in /usr/conf with:&lt;BR /&gt;&lt;BR /&gt;find /usr/conf -name master.d -exec ls -ld {} \;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;-erich (Eric Herberholz)</description>
      <pubDate>Thu, 31 Jul 2003 14:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/3036720#M906471</guid>
      <dc:creator>Eric Herberholz</dc:creator>
      <dc:date>2003-07-31T14:37:56Z</dc:date>
    </item>
  </channel>
</rss>

