On 5/27/06, rblythe <[EMAIL PROTECTED]> wrote:
I have read the ln manpage.  I have searched the internet.  I hope
someone can clear this up for me:

ln -s -v ../../path/to/target somename or directory

Specifically what I don't understand is the ../../ portion.

I am used to using links that look like ln -s -v /my/file/one two #
without ../../
which results in two -> /my/file/one

What you always have to remember about ln is the location of what your
linking to (the first part) is relative to the actual link being made.
When you issue

ln -s ../../lib/libreadline.so.5 /usr/lib/libreadline.so

Your saying you want to make a link in the /usr/lib directory.  And
what your linking to is /usr/lib/../../lib/libreadline.so.5.  The
great thing about that command is your actually using absolute paths
when you issue it, so you can issue it from any location.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to