Version Change on Unix

Bill Campbell bill at celestial.com
Tue May 19 09:03:19 PDT 2009


On Tue, May 19, 2009, Fairlight wrote:
>This public service announcement was brought to you by Nancy Palmquist:
>> Does anyone know the right LINK command to use to change the link between
>> 
>> /appl/fp  and another version folder in the /appl folder.
>> 
>> For example,
>> 
>> I need to link to /appl/fp_v5.0.15D4
>> 
>> I can not figure out the right command.
>
>ln -sf /appl/fp_v5.0.15D4 /appl/fp
>
>NOTE:  Some variants (notably Solaris 7 and 8) tend to ignore the force
>flag and require prior manual removal of the link prior to using 'ln', or
>they'll kick back "file exists" and do nothing--despite the -f argument.

If the destination is a direcotory, the new link may end up *IN*
that directory instead of what one wants.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

The ultimate result of shielding men from the effects of folly is to fill
the world with fools. -- Herbert Spencer (1891)


More information about the Filepro-list mailing list