On Monday 26 November 2001 21:55, Geoff wrote:
On Mon, 26 Nov 2001 12:35:32 -0800 (PST)
Jim Cunning <jcunning@cts.com> wrote:
On Mon, 26 Nov 2001, Ben Rosenberg wrote:
- Erik Jakobsen (erik@urbakken.dk) [011126 11:55]: ->Hi. -> ->What does this mean: -> ->ln -s ../ ../etc ??.
ln = link
-s = softlink (shortcut of sorts)
I may be wrong, but I think he might have been asking a deeper question. I had to test this to be certain what actually happens.
ln -s ../ ../etc creates a softlink called "etc" in the directory above the current one. The link points to the directory above the link itself, e.g.,
Dir A --
Dir B -- etc --> ..// Dir C
If Dir C is your current directory, then "ln -s ../ ../etc" will create "etc" in Dir B, pointing to Dir A. FYI, "ln -s .. ../etc" does the same thing, even though the link looks slightly different (../).
I was just going through the same process, and was about to ask Erik where he had come across this usage.
So Erik, can you give us an example of where you have seen this please?
Sure I can Geoff. Its from the information from Vokler Kuhlmann for installing VMware Express on a system running 7.3: 3) Provide a missing symlink: ln -s ../../etc/init.d/vmware /usr/sbin/rcvmware This lets you start the vmware networking with rcvmware start/stop, like any other service. http://volker.orcon.net.nz/linux/vmware/vmware2.0.4-SuSE7.3.txt
Geoff
Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
-- Med venlig hilsen / Best regards / Vy73 de OZ4KK Erik Jakobsen - erik@urbakken.dk SuSE 7.3 Linux