<?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: link file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912101#M763733</link>
    <description>You got the answer on your question already Macho, but I just want to leave you a small note as the path you mentioned to the runlevel directories might be of a bit importancy....&lt;BR /&gt;&lt;BR /&gt;Links in these directories is normally named Kxxx{filename} or Sxxx{filename}&lt;BR /&gt;&lt;BR /&gt;The {filename} is the filename it has in the /sbin/init.d directory.&lt;BR /&gt;The xxx is a number which will indicate a sequence of start/stop.&lt;BR /&gt;K = Kill&lt;BR /&gt;S = Start&lt;BR /&gt;&lt;BR /&gt;So a startup link for your test script could be like this.&lt;BR /&gt;ln -s /sbin/init.d/test1 /sbin/rc2.d/S950test1&lt;BR /&gt;&lt;BR /&gt;And a stop link.&lt;BR /&gt;ln -s /sbin/init.d/test1 /sbin/rc2.d/K950test1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See man pages for rc&lt;BR /&gt;   # man rc&lt;BR /&gt;or&lt;BR /&gt;   # man 1M rc&lt;BR /&gt;&lt;BR /&gt;for more details and recommendations if you have dependencies.&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
    <pubDate>Thu, 14 Dec 2006 19:08:30 GMT</pubDate>
    <dc:creator>Tor-Arne Nostdal</dc:creator>
    <dc:date>2006-12-14T19:08:30Z</dc:date>
    <item>
      <title>link file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912097#M763729</link>
      <description>How to link one file to another file.&lt;BR /&gt;&lt;BR /&gt;Example : file name : test1&lt;BR /&gt;Place the file "test1" in /sbin/init.d . Then create a link file in /sbin/rc2.d.</description>
      <pubDate>Wed, 13 Dec 2006 01:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912097#M763729</guid>
      <dc:creator>Macho_2</dc:creator>
      <dc:date>2006-12-13T01:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: link file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912098#M763730</link>
      <description>Hi,&lt;BR /&gt;how about:&lt;BR /&gt;ln -s  /sbin/init.d/test1 /sbin/rc2.d/test1&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Dec 2006 02:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912098#M763730</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-12-13T02:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: link file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912099#M763731</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;go to directory where file test1 is and issue&lt;BR /&gt;command,&lt;BR /&gt;&lt;BR /&gt;# cp ./test1 /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;# ln -s /sbin/init.d/test1 /sbin/rc2.d/test1&lt;BR /&gt;&lt;BR /&gt;This will create a symbolic link in file /sbin/init.d with name test1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 13 Dec 2006 03:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912099#M763731</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2006-12-13T03:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: link file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912100#M763732</link>
      <description>Thank you very much. I managed to get it.</description>
      <pubDate>Wed, 13 Dec 2006 04:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912100#M763732</guid>
      <dc:creator>Macho_2</dc:creator>
      <dc:date>2006-12-13T04:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: link file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912101#M763733</link>
      <description>You got the answer on your question already Macho, but I just want to leave you a small note as the path you mentioned to the runlevel directories might be of a bit importancy....&lt;BR /&gt;&lt;BR /&gt;Links in these directories is normally named Kxxx{filename} or Sxxx{filename}&lt;BR /&gt;&lt;BR /&gt;The {filename} is the filename it has in the /sbin/init.d directory.&lt;BR /&gt;The xxx is a number which will indicate a sequence of start/stop.&lt;BR /&gt;K = Kill&lt;BR /&gt;S = Start&lt;BR /&gt;&lt;BR /&gt;So a startup link for your test script could be like this.&lt;BR /&gt;ln -s /sbin/init.d/test1 /sbin/rc2.d/S950test1&lt;BR /&gt;&lt;BR /&gt;And a stop link.&lt;BR /&gt;ln -s /sbin/init.d/test1 /sbin/rc2.d/K950test1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See man pages for rc&lt;BR /&gt;   # man rc&lt;BR /&gt;or&lt;BR /&gt;   # man 1M rc&lt;BR /&gt;&lt;BR /&gt;for more details and recommendations if you have dependencies.&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Thu, 14 Dec 2006 19:08:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912101#M763733</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2006-12-14T19:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: link file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912102#M763734</link>
      <description>Thank you again for your help.</description>
      <pubDate>Thu, 14 Dec 2006 19:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-file/m-p/3912102#M763734</guid>
      <dc:creator>Macho_2</dc:creator>
      <dc:date>2006-12-14T19:11:07Z</dc:date>
    </item>
  </channel>
</rss>

