<?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: Doubt on ln command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798078#M941291</link>
    <description>The inode number of all links will be the same.&lt;BR /&gt;&lt;BR /&gt;You can do a ll -i to see the inode number of the file (first column) and then search for files with the same inode number.</description>
    <pubDate>Mon, 02 Sep 2002 09:39:30 GMT</pubDate>
    <dc:creator>Deepak Extross</dc:creator>
    <dc:date>2002-09-02T09:39:30Z</dc:date>
    <item>
      <title>Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798074#M941287</link>
      <description>Hi,&lt;BR /&gt;   I have a file which has a link count of 2. Is there any way I can figure out the two links that reference this file?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Regards,&lt;BR /&gt;Ram.</description>
      <pubDate>Mon, 02 Sep 2002 09:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798074#M941287</guid>
      <dc:creator>Ramsunder S</dc:creator>
      <dc:date>2002-09-02T09:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798075#M941288</link>
      <description>I think you can do this.&lt;BR /&gt;&lt;BR /&gt;1. Do an ll command against the file and note the minor number ie - 0x0f005c&lt;BR /&gt;&lt;BR /&gt;2. Enter this command - &lt;BR /&gt;&lt;BR /&gt;ll -R / |grep 0x0f005c</description>
      <pubDate>Mon, 02 Sep 2002 09:24:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798075#M941288</guid>
      <dc:creator>Nick Wickens</dc:creator>
      <dc:date>2002-09-02T09:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798076#M941289</link>
      <description>Hi Ram,&lt;BR /&gt;&lt;BR /&gt;You can try with find:&lt;BR /&gt;&lt;BR /&gt;find / -type l -name "filename" -u "ownername" -print&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Mon, 02 Sep 2002 09:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798076#M941289</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-09-02T09:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798077#M941290</link>
      <description>Sorry had Informix hat on and was thinking of block and character device files - suggestion does not apply to normal files.&lt;BR /&gt;&lt;BR /&gt;Have a look at the find command -linkedto&lt;BR /&gt;&lt;BR /&gt;ie find / -linkedto filename&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Sep 2002 09:35:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798077#M941290</guid>
      <dc:creator>Nick Wickens</dc:creator>
      <dc:date>2002-09-02T09:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798078#M941291</link>
      <description>The inode number of all links will be the same.&lt;BR /&gt;&lt;BR /&gt;You can do a ll -i to see the inode number of the file (first column) and then search for files with the same inode number.</description>
      <pubDate>Mon, 02 Sep 2002 09:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798078#M941291</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2002-09-02T09:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798079#M941292</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Do the following.  Lets say your filename&lt;BR /&gt;is file1.txt&lt;BR /&gt;&lt;BR /&gt;ls -li  file1.txt&lt;BR /&gt;This will show you the inode number which&lt;BR /&gt;you then use in a find command:&lt;BR /&gt;&lt;BR /&gt;find &lt;STARTPOINT&gt; -xdev -inum &lt;INODENUMBER&gt;&lt;BR /&gt;&lt;BR /&gt;The startpoint should be the mountpoint of the&lt;BR /&gt;filesystem holding file1.txt.&lt;BR /&gt;As the link-count is 2  this command should&lt;BR /&gt;return two hits, file1.txt beeing one of them.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;/INODENUMBER&gt;&lt;/STARTPOINT&gt;</description>
      <pubDate>Mon, 02 Sep 2002 09:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798079#M941292</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-09-02T09:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798080#M941293</link>
      <description>Thank you everyone for your replies. &lt;BR /&gt;&lt;BR /&gt;Justo, &lt;BR /&gt;   the -u switch does not seem to work on HP-UX 11.0.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ram.</description>
      <pubDate>Mon, 02 Sep 2002 10:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798080#M941293</guid>
      <dc:creator>Ramsunder S</dc:creator>
      <dc:date>2002-09-02T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798081#M941294</link>
      <description>Hi Ram,&lt;BR /&gt;&lt;BR /&gt;Sorry the option is -user uname.&lt;BR /&gt;&lt;BR /&gt;You can see it in the manpage for find.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Mon, 02 Sep 2002 15:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798081#M941294</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-09-02T15:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798082#M941295</link>
      <description>Why has noone mentioned ncheck yet: *the* util for this&lt;BR /&gt;&lt;BR /&gt;a5:/tmp 105 # banner Help &amp;gt; xx&lt;BR /&gt;a5:/tmp 106 # ln xx yy&lt;BR /&gt;a5:/tmp 107 # ls -il xx&lt;BR /&gt;    183 -rw-rw-rw-    2 merijn   softwr        232 Sep  2 18:33 xx&lt;BR /&gt;a5:/tmp 108 # ncheck -i 183 /dev/vg00/tmp&lt;BR /&gt;/dev/vg00/tmp:&lt;BR /&gt;183     /xx&lt;BR /&gt;183     /yy&lt;BR /&gt;a5:/tmp 109 #&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Sep 2002 15:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-on-ln-command/m-p/2798082#M941295</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-09-02T15:28:51Z</dc:date>
    </item>
  </channel>
</rss>

