<?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 ln command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907180#M283971</link>
    <description>how do i do a link??&lt;BR /&gt;how do i use ln command?? &lt;BR /&gt;&lt;BR /&gt;for doing something like this one (where appears "-&amp;gt;" ):&lt;BR /&gt;lrwxrwxrwx 1 root sys 18 Nov 24 2001 global -&amp;gt; /sapmnt/CP1/global&lt;BR /&gt;lrwxrwxrwx 1 root sys 19 Nov 24 2001 profile -&amp;gt; /sapmnt/CP1/profile&lt;BR /&gt;&lt;BR /&gt;THANKS ...</description>
    <pubDate>Mon, 04 Dec 2006 01:09:30 GMT</pubDate>
    <dc:creator>Manuales</dc:creator>
    <dc:date>2006-12-04T01:09:30Z</dc:date>
    <item>
      <title>ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907180#M283971</link>
      <description>how do i do a link??&lt;BR /&gt;how do i use ln command?? &lt;BR /&gt;&lt;BR /&gt;for doing something like this one (where appears "-&amp;gt;" ):&lt;BR /&gt;lrwxrwxrwx 1 root sys 18 Nov 24 2001 global -&amp;gt; /sapmnt/CP1/global&lt;BR /&gt;lrwxrwxrwx 1 root sys 19 Nov 24 2001 profile -&amp;gt; /sapmnt/CP1/profile&lt;BR /&gt;&lt;BR /&gt;THANKS ...</description>
      <pubDate>Mon, 04 Dec 2006 01:09:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907180#M283971</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2006-12-04T01:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907181#M283972</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;someting like &lt;BR /&gt;ln -s /sapmnt/CP1/global global &lt;BR /&gt;&lt;BR /&gt;take a look in man :)</description>
      <pubDate>Mon, 04 Dec 2006 01:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907181#M283972</guid>
      <dc:creator>Maxim Yakimenko</dc:creator>
      <dc:date>2006-12-04T01:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907182#M283973</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you are looking for the C-interface:&lt;BR /&gt;man symlink&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Mon, 04 Dec 2006 06:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907182#M283973</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-12-04T06:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907183#M283974</link>
      <description>File links are created using the ln command and are used to access a single file with multiple file names. By default, the ln command creates a hard link. For example, to link the file /home/myfile with /home/linkfile, you can use following command.&lt;BR /&gt;&lt;BR /&gt;ln /home/myfile /home/linkfile&lt;BR /&gt;&lt;BR /&gt;After using this command, linkfile will be created and will contain the same data as myfile. On the file system level, a directory entry with the name linkfile is created, which points to the same inode used by myfile. Hard links can be created only within a file system; you cannot link directories with hard links.&lt;BR /&gt;&lt;BR /&gt;To create a soft link, you use the -s option with the ln command. When creating a soft link, HP-UX creates a file entry with its own inode number in the directory area. This inode number then points to a data block that contains the file name to which the link is established. Soft links can link directories and can be used between file systems.&lt;BR /&gt;&lt;BR /&gt;for more information please visit the below link.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90689/ln.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90689/ln.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asif Sharif&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2006 09:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907183#M283974</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2006-12-04T09:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907184#M283975</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Best way is check for Manpage for "ln".&lt;BR /&gt;&lt;BR /&gt;There are two ways for that:&lt;BR /&gt;"ln" (Hardlink) and "ln -s" (soft Link).&lt;BR /&gt;&lt;BR /&gt;In your case it should be like this:&lt;BR /&gt;&lt;BR /&gt;ln -s global /sapmnt/CP1/global&lt;BR /&gt;ln -s profile /sapmnt/CP1/profile&lt;BR /&gt;&lt;BR /&gt;Hope this will answer your question.</description>
      <pubDate>Mon, 04 Dec 2006 23:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907184#M283975</guid>
      <dc:creator>Samir Pujara_1</dc:creator>
      <dc:date>2006-12-04T23:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907185#M283976</link>
      <description>&lt;!--!*#--&gt;If you are lazy, you don't have to repeat the name twice.  From Maxim's example:&lt;BR /&gt;   ln -s /sapmnt/CP1/global .&lt;BR /&gt;&lt;BR /&gt;Note: Samir's example is backwards.&lt;BR /&gt;&lt;BR /&gt;One point about symlinks, if you want them to work over NFS, you should make them self relative.  The above link would only work if /sapmnt was also mounted on the client.&lt;BR /&gt;&lt;BR /&gt;If you were in /sapmnt/CP2, you would use:&lt;BR /&gt;   ln -s ../CP1/global .</description>
      <pubDate>Mon, 04 Dec 2006 23:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907185#M283976</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-12-04T23:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: ln command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907186#M283977</link>
      <description>Manuales,&lt;BR /&gt;&lt;BR /&gt;I always think of the -s as source. Just helps me remember. So &lt;BR /&gt;&lt;BR /&gt;ln -s /var/tmp/mysourcefile /var/tmp/mylinkfile&lt;BR /&gt;&lt;BR /&gt;would create the link /var/tmp/mylinkfile to the source file /var/tmp/mysourcefile.&lt;BR /&gt;&lt;BR /&gt;A long listing in /var/tmp would show&lt;BR /&gt;&lt;BR /&gt;mylinkfile -&amp;gt; /var/tmp/mysourcefile&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Berd</description>
      <pubDate>Tue, 05 Dec 2006 06:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ln-command/m-p/3907186#M283977</guid>
      <dc:creator>Berd</dc:creator>
      <dc:date>2006-12-05T06:41:02Z</dc:date>
    </item>
  </channel>
</rss>

