[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: symlinks question



On Thu, May 31, 2007 at 09:01:44PM +0200, Jan Willem Stumpel wrote:
> Is there a single command to change the target of a symlink?
> Say I have a link which points from mylink to A, made by
> 
>   ln -s A mylink
> 
> and I want to make the link point to B instead. I can of course do
> 
>   rm mylink
>   ln -s B mylink
> 
> but is't there a simpler way to do it? I would be amazed if there
> weren't any (this operation occurs quite often), but I could not
> find any clues in man ln.
> 

Midnight commander lets you edit symlinks.  However, I don't know how it
effects the change.

Doug.



Reply to: