On Friday 13 Jun 2003 1:20 pm, Anne Wilson wrote:
> On Friday 13 Jun 2003 1:13 pm, Greg Meyer wrote:
> > On Friday 13 June 2003 07:54 am, Anne Wilson wrote:
> > > [EMAIL PROTECTED] anne]$ ln -s Graphics /Graphics
> > > ln: creating symbolic link `/Graphics/Graphics' to `Graphics':
> > > Operation not permitted
> > > [EMAIL PROTECTED] anne]$
> >
> > It seems you cannot create a symlink in the directory you want to
> > link to.  or perhaps you reversed the order of the syntax.  it
> > should be:
> >
> > ln -s <place you want to link> linkname
> >
> > So if you wanted to create a link Graphics in your home dir to
> > /Graphics, it should be:
> >
> > ln -s /Graphics Graphics
>
> I sometimes think I'll never get this straight.  What you said is what
> would seem logical to me, but the book I consulted said
>
> ln -s name-of-link path/to/location
>
> So now I guess it's throw away the book and rely on common sense - for
> this bit anyway <g>

The way to remember it is that is has the same syntax as cp.
cp old-file new-file
ln -s old-file new-file

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to