<?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: symbolic link in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169678#M457744</link>
    <description>Thanks for all for giving such valuable information. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mehul</description>
    <pubDate>Wed, 15 Apr 2009 14:20:14 GMT</pubDate>
    <dc:creator>mehul_3</dc:creator>
    <dc:date>2009-04-15T14:20:14Z</dc:date>
    <item>
      <title>symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169665#M457731</link>
      <description>Kindly explain what is symbolic link and in which situation it is viable to use. &lt;BR /&gt;Kindly explain in simple way. We are on the verge to install SAP on OS11.31 and we need to create symbolic link for some directory.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mehul</description>
      <pubDate>Wed, 15 Apr 2009 09:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169665#M457731</guid>
      <dc:creator>mehul_3</dc:creator>
      <dc:date>2009-04-15T09:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169666#M457732</link>
      <description>A symlink allows you to use a different name to point to a file or directory.&lt;BR /&gt;A hardlink allows you to have a different name to a file on the same filesystem.&lt;BR /&gt;Create both with ln(1), with -s for symlink.</description>
      <pubDate>Wed, 15 Apr 2009 09:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169666#M457732</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-15T09:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169667#M457733</link>
      <description>Hi Mehul,&lt;BR /&gt;&lt;BR /&gt;A symbolic link is a type of file that indirectly refers to ("points&lt;BR /&gt;to") a path name.  Also known as a soft link, a symbolic link contains&lt;BR /&gt;a relative or absolute path name.  If a symbolic link to a relative&lt;BR /&gt;path name is encountered during path name interpretation, the contents&lt;BR /&gt;of the symbolic link replaces the symbolic link component and are&lt;BR /&gt;expanded into the path name being interpreted.  If a symbolic link to&lt;BR /&gt;an absolute path name is encountered, the contents of the symbolic&lt;BR /&gt;link replaces all components up to and including the symbolic link,&lt;BR /&gt;and is expanded into the remainder of the path name.&lt;BR /&gt;&lt;BR /&gt;Suppose that files file1, file2, and file3 originally existed under the group PXGROUP of account DEVELOP. You have decided to move the files to the /users/denis/bin/FILES directory. To ensure that all of the applications that access those files will still function properly, you must create symbolic links to those files.&lt;BR /&gt;&lt;BR /&gt;Use the NEWLINK command to create the symbolic links.&lt;BR /&gt;&lt;BR /&gt;:chdir /DEVELOP/PXGROUP&lt;BR /&gt;&lt;BR /&gt;:newlink ./file1, /users/denis/bin/FILES file1&lt;BR /&gt;&lt;BR /&gt;:newlink ./file2, /users/denis/bin/FILES/file2&lt;BR /&gt;&lt;BR /&gt;:newlink ./file3, /users/denis/bin/FILES/file3&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti</description>
      <pubDate>Wed, 15 Apr 2009 09:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169667#M457733</guid>
      <dc:creator>Kranti Mahmud</dc:creator>
      <dc:date>2009-04-15T09:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169668#M457734</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Use the NEWLINK command to create the&lt;BR /&gt;&amp;gt; symbolic links.&lt;BR /&gt;&lt;BR /&gt;Use the WHAT???&lt;BR /&gt;&lt;BR /&gt;      man ln&lt;BR /&gt;      man symlink</description>
      <pubDate>Wed, 15 Apr 2009 09:27:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169668#M457734</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-04-15T09:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169669#M457735</link>
      <description>Hi Mehul,&lt;BR /&gt;&lt;BR /&gt;SAP uses several paths to point to the same directory, for downward compatability etc.&lt;BR /&gt;For instance:&lt;BR /&gt;/usr/sap/&lt;SID&gt;/SYS/exe/run&lt;BR /&gt;and:&lt;BR /&gt;/sapmnt/&lt;SID&gt;/exe&lt;BR /&gt;have the same files in them. In order not to waste diskspace, you can create a symbolic link named run in /usr/sap/&lt;SID&gt;/SYS/exe/ which points to /sapmnt/&lt;SID&gt;/exe&lt;BR /&gt;This way both paths reach the same files whithout having them on disk twice.&lt;BR /&gt;Second reason for this is that this directory contains your SAP kernel, which you will be updating every now and then. Having a symbolic link means that you have to replace your kernel files only once.&lt;BR /&gt;&lt;BR /&gt;The link type is symbolic an not hard because usually, above mentioned paths reside on different file systems.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Bart&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;</description>
      <pubDate>Wed, 15 Apr 2009 09:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169669#M457735</guid>
      <dc:creator>Bart Paulusse</dc:creator>
      <dc:date>2009-04-15T09:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169670#M457736</link>
      <description>Hi Mehul,&lt;BR /&gt;&lt;BR /&gt;Symbolic link means soft link in between directory to directory.&lt;BR /&gt;&lt;BR /&gt;#ln -s x y&lt;BR /&gt;&lt;BR /&gt;where x is a directory and y is another directory.&lt;BR /&gt;&lt;BR /&gt;Rgds//&lt;BR /&gt;Taifur&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2009 09:42:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169670#M457736</guid>
      <dc:creator>Taifur</dc:creator>
      <dc:date>2009-04-15T09:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169671#M457737</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Difference between hard link and softlink(symbolic link)&lt;BR /&gt;&lt;BR /&gt;File links are created using the ln command and are used to access a single file with multiple file names.&lt;BR /&gt;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;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;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;If you delete a file that has soft links, the links are not actually deleted, as they have their own inodes. But when you try to access a linked file for which the original file has been deleted, an error message will&lt;BR /&gt;be shown.</description>
      <pubDate>Wed, 15 Apr 2009 09:59:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169671#M457737</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-04-15T09:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169672#M457738</link>
      <description>Hi Mehul,&lt;BR /&gt;&lt;BR /&gt;As said, symbolic link is used only for pointing a file/directory.&lt;BR /&gt;&lt;BR /&gt;We can also use this if we are running SHORT OF SPACE.&lt;BR /&gt;&lt;BR /&gt;The syntax is:&lt;BR /&gt;# ln -s file1 file2&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169672#M457738</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-04-15T10:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169673#M457739</link>
      <description>Can copy files to the link being created? how can it be used after creation? Pl explain with simple example.&lt;BR /&gt;&lt;BR /&gt;thanks for all for giving explanation in a simple mannner and quick response</description>
      <pubDate>Wed, 15 Apr 2009 10:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169673#M457739</guid>
      <dc:creator>mehul_3</dc:creator>
      <dc:date>2009-04-15T10:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169674#M457740</link>
      <description>Hi Mehul,&lt;BR /&gt;&lt;BR /&gt;Yes. You can copy the files to the link file. It is going to write on the common data blocks for both original and link files.&lt;BR /&gt;&lt;BR /&gt;#ln -s ln /home/dir /home/linkdir&lt;BR /&gt;&lt;BR /&gt;If you write anything on the folder /home/linkdir it is going to write on /home/dir&lt;BR /&gt;&lt;BR /&gt;#cp -p /tmp/test.txt /home/linkdir</description>
      <pubDate>Wed, 15 Apr 2009 10:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169674#M457740</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-04-15T10:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169675#M457741</link>
      <description>Hi Mehul,&lt;BR /&gt;&lt;BR /&gt;after creation the link 'works' like a normal directory. &lt;BR /&gt;cp /tmp/testfile /sapmnt/&lt;SID&gt;/exe/&lt;BR /&gt;and&lt;BR /&gt;cp /tmp/testfile2 /usr/sap/&lt;SID&gt;&lt;/SID&gt;&lt;BR /&gt;will both result in two files called testfile and testfile2 in directory /sapmnt/&lt;SID&gt;/exe/&lt;BR /&gt;When you do &lt;BR /&gt;cd /usr/sap/&lt;SID&gt;&lt;/SID&gt;you will find that testfile and testfile2 are there as well.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Bart&lt;/SID&gt;&lt;/SID&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169675#M457741</guid>
      <dc:creator>Bart Paulusse</dc:creator>
      <dc:date>2009-04-15T10:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169676#M457742</link>
      <description>@Kranti Mahmud:&lt;BR /&gt;&lt;BR /&gt;Very bad cut'n'paste!&lt;BR /&gt;&lt;BR /&gt;Source was&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/32650-90492/ch06s11.html" target="_blank"&gt;http://docs.hp.com/en/32650-90492/ch06s11.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is MPE - not HP-UX!</description>
      <pubDate>Wed, 15 Apr 2009 11:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169676#M457742</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-04-15T11:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169677#M457743</link>
      <description>&lt;BR /&gt;Dear Methul&lt;BR /&gt;&lt;BR /&gt;In Unix, a file that points to another file or directory. It is used to allow a variety of sources to point to a common destination. The Windows 2000 counterpart is the "virtual directory." When URLs are redirected, it is called "URL mapping." A symbolic link is like a Windows shortcut, except that the link is an index entry in the Unix file system, whereas the shortcut is a regular Windows file.&lt;BR /&gt;&lt;BR /&gt;u can use ln -s to create symbolic links&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Wed, 15 Apr 2009 11:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169677#M457743</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-04-15T11:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: symbolic link</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169678#M457744</link>
      <description>Thanks for all for giving such valuable information. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mehul</description>
      <pubDate>Wed, 15 Apr 2009 14:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/symbolic-link/m-p/5169678#M457744</guid>
      <dc:creator>mehul_3</dc:creator>
      <dc:date>2009-04-15T14:20:14Z</dc:date>
    </item>
  </channel>
</rss>

