<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396021#M199944</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can do&lt;BR /&gt;&lt;BR /&gt;ls -lR &lt;DIR&gt; | grep "^c" (or grep "^p" or whatever you want to search for)&lt;BR /&gt;&lt;BR /&gt;or all in one&lt;BR /&gt;&lt;BR /&gt;ls -lR|egrep "^c|^p"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky&lt;/DIR&gt;</description>
    <pubDate>Fri, 08 Oct 2004 02:27:41 GMT</pubDate>
    <dc:creator>Franky_1</dc:creator>
    <dc:date>2004-10-08T02:27:41Z</dc:date>
    <item>
      <title>find problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396017#M199940</link>
      <description>Is it possible to search file belong to "c" or "p" or "s" in the system ?&lt;BR /&gt;&lt;BR /&gt;For ex:&lt;BR /&gt;crw-------  1 root root  15 0x000089 Sep 30  tunip9&lt;BR /&gt;&lt;BR /&gt;prw------- 1 root root .... test1&lt;BR /&gt;srw------- 1 root ......... test2..</description>
      <pubDate>Fri, 08 Oct 2004 01:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396017#M199940</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-10-08T01:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: find problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396018#M199941</link>
      <description>Hi,&lt;BR /&gt;You can do it this way:&lt;BR /&gt;&lt;BR /&gt;# find ./ -name "*xyz*" -print | xargs ls -al | grep ^c&lt;BR /&gt;# find ./ -name "*xyz*" -print | xargs ls -al | grep ^p&lt;BR /&gt;# find ./ -name "*xyz*" -print | xargs ls -al | grep ^s&lt;BR /&gt;&lt;BR /&gt;Hope that helps&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Oct 2004 01:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396018#M199941</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-10-08T01:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: find problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396019#M199942</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;use the following command for finding character (c) files in /dev.&lt;BR /&gt;&lt;BR /&gt;# find /dev -type c -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if you want to check for all the system use   '/'  instead of '/dev'  and use the following instead of 'c' for finding other types of files. see man page of find for more details.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  f    Regular file&lt;BR /&gt;                                   d    Directory&lt;BR /&gt;                                   b    Block special file&lt;BR /&gt;                                   c    Character special file&lt;BR /&gt;                                   p    FIFO (named pipe)&lt;BR /&gt;                                   l    Symbolic link&lt;BR /&gt;                                   s    Socket&lt;BR /&gt;                                   n    Network special file&lt;BR /&gt;                                   M    Mount point&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regds,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Oct 2004 01:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396019#M199942</guid>
      <dc:creator>bhavin asokan</dc:creator>
      <dc:date>2004-10-08T01:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: find problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396020#M199943</link>
      <description>WE can find the files based file types with -type option on find command.&lt;BR /&gt;&lt;BR /&gt; IF you want to get character files then,&lt;BR /&gt;&lt;BR /&gt; find &lt;PATH&gt; -type c -name "*" -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt; IT will give every file there,&lt;BR /&gt; &lt;BR /&gt; Else,&lt;BR /&gt;&lt;BR /&gt; you can try with ll | grep '^&lt;FILE&gt;&lt;/FILE&gt; as,&lt;BR /&gt;&lt;BR /&gt; find &lt;PATH&gt; -name "*" -exec ls -l {} \; | grep -E '^c'&lt;BR /&gt;&lt;BR /&gt; It will give character files there,&lt;BR /&gt; &lt;BR /&gt; You can get file type on find man page there.&lt;BR /&gt; &lt;BR /&gt;&lt;/PATH&gt;&lt;/PATH&gt;</description>
      <pubDate>Fri, 08 Oct 2004 02:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396020#M199943</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-10-08T02:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: find problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396021#M199944</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can do&lt;BR /&gt;&lt;BR /&gt;ls -lR &lt;DIR&gt; | grep "^c" (or grep "^p" or whatever you want to search for)&lt;BR /&gt;&lt;BR /&gt;or all in one&lt;BR /&gt;&lt;BR /&gt;ls -lR|egrep "^c|^p"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky&lt;/DIR&gt;</description>
      <pubDate>Fri, 08 Oct 2004 02:27:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396021#M199944</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-10-08T02:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: find problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396022#M199945</link>
      <description>We can get all character, fifo, socket files as,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;find / -type c -type p -type s -name "*" -exec ls -al {} \;&lt;BR /&gt;&lt;BR /&gt;It will give every files full informations there.&lt;BR /&gt;&lt;BR /&gt; We can do in another as,&lt;BR /&gt;&lt;BR /&gt; find / -name "*" -exec ls -al {} \; | grep -E "^c|^p|^s"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Fri, 08 Oct 2004 02:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-problem/m-p/3396022#M199945</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-10-08T02:29:35Z</dc:date>
    </item>
  </channel>
</rss>

