Under Solaris, the link will be moved into the directory that the link
points to (following the correct behaviour of mv) and so if you "cd
directory" you will find your link inside it! (And it's now pointing up
to its parent.)
Donncha O Caoimh wrote:
>> That should have been
> mv link link
>> "link" will then disappear.
>> Donncha O Caoimh wrote:
> > Try this in Linux:
> > create a soft link to a directory,
> > ln -s directory link
> > now, do the following:
> > mv directory directory
> > Watch what happens. The "directory" link disappears. A bug?
> > Donncha.
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
OrbixWeb Customer Engineering
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!