Dan Nicholson wrote:


ln is a classic hangup for newbies.  man ln, and play around with it
on some dummy files.  The syntax above is right if you have the file
/tools/bin/tclsh8.4.  You can issue it from any directory, too.

Yes, the important part to find is that the link is relative to it's own location, not the target's location. IOW, 'ln -s tclsh8.4 /usr/bin/tclsh' creates a file (a symlink) named tclsh in /usr/bin that points to ./tclsh8.4 (/usr/bin/tclsh8.4). You can, of course, provide an explicit path instead of relative if you prefer. Relative, IMO is the better practice. If you happen to move a partition (or even a directory) around once or twice, and use it in the process, you will see why.

HTH

-- DJ Lucas

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

Reply via email to