On Thu, Feb 22, 2001 at 06:53:30PM -0600, Mikkel L. Ellertson 
<[EMAIL PROTECTED]> wrote:
| man ln
| ln -s <exhisting file> <symlink name>

It is worth noting that in the above, "<existing file>" must be a pathname
with will work when standing in the directory containing the symlink.
So and absolute pathname will be fine (unless you move the link), but a
relative pathname must be relative to the link's directory, not relative
to the directory you are standing in when you issue the "ln" command.

Just something to keep in mind.

Example:

        touch foo
        mkdir synonyms
        ln -s ../foo synonyms/foolink

That "../foo" is because the symlink string is used from within the
"synonyms" dir when resolving the link.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Gauls!  We have nothing to fear; except perhaps that the sky may fall
on our heads tomorrow.  But as we all know, tomorrow never comes!!
        - Adventures of Asterix



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to