<?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: Listing linked files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562039#M918834</link>
    <description>Hi Ron&lt;BR /&gt;&lt;BR /&gt;Try this&lt;BR /&gt;&lt;BR /&gt;ls -laR | grep ^l &amp;gt; /tmp/test&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
    <pubDate>Mon, 06 Aug 2001 14:35:59 GMT</pubDate>
    <dc:creator>MANOJ SRIVASTAVA</dc:creator>
    <dc:date>2001-08-06T14:35:59Z</dc:date>
    <item>
      <title>Listing linked files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562033#M918828</link>
      <description>Is there a way to list only linked files, in HP-UX ver 10.20?  We're doing an application upgrade in the near future...just wondering.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Mon, 06 Aug 2001 13:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562033#M918828</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2001-08-06T13:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Listing linked files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562034#M918829</link>
      <description>Hi Ron:&lt;BR /&gt;&lt;BR /&gt;You can do a 'find' looking for 'type l', as:&lt;BR /&gt;&lt;BR /&gt;# find /etc -type l&lt;BR /&gt;&lt;BR /&gt;This will retrun symbolic linked files.&lt;BR /&gt;&lt;BR /&gt;If you are looking for hardlinks (and here, the /sbin directory is a fine example), do this:&lt;BR /&gt;&lt;BR /&gt;# cd /sbin &lt;BR /&gt;# ls -ilR | awk '$2 ~/l/ || ($2 !~/d/ &amp;amp;&amp;amp; $3 &amp;gt; 1)' | sort -k1n | more &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 06 Aug 2001 13:58:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562034#M918829</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-06T13:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Listing linked files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562035#M918830</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I'll assume you are just interested in files rather than directories. For hard links:&lt;BR /&gt;find . -link +1 -type f&lt;BR /&gt;&lt;BR /&gt;For symbolic links&lt;BR /&gt;find . -type l&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Mon, 06 Aug 2001 14:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562035#M918830</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-08-06T14:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Listing linked files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562036#M918831</link>
      <description>Clay, when I type 'find / -link +1 -type f', it comes back with bad option, -link.  Any ideas?&lt;BR /&gt;&lt;BR /&gt;ron</description>
      <pubDate>Mon, 06 Aug 2001 14:07:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562036#M918831</guid>
      <dc:creator>Ron Irving</dc:creator>
      <dc:date>2001-08-06T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Listing linked files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562037#M918832</link>
      <description>Hi Ron:&lt;BR /&gt;&lt;BR /&gt;Clay meant "links" [plural] as:&lt;BR /&gt;&lt;BR /&gt;# find /sbin -links +1 -type f&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 06 Aug 2001 14:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562037#M918832</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-06T14:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Listing linked files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562038#M918833</link>
      <description>When I do it, I usually just want for the current directory so I use an alias that I have set to:&lt;BR /&gt;&lt;BR /&gt;ls -la | grep ^l&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Aug 2001 14:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562038#M918833</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2001-08-06T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Listing linked files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562039#M918834</link>
      <description>Hi Ron&lt;BR /&gt;&lt;BR /&gt;Try this&lt;BR /&gt;&lt;BR /&gt;ls -laR | grep ^l &amp;gt; /tmp/test&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 06 Aug 2001 14:35:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-linked-files/m-p/2562039#M918834</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-08-06T14:35:59Z</dc:date>
    </item>
  </channel>
</rss>

