D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

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

RE: [LUG] forwarded



> The book Running Linux 2nd edition describes symbolic links on page 91
> ln /opt /usr/opt
> this would mean when I cd /opt it actually goes to /usr/opt
> 
> is this correct?
> 
Other way round I'd say: ln -s /usr/opt /opt
(Linux/unix is nicely awkward sometimes it seems :-))

I'd also say that if you already have a /opt directory then it will cause
problems - as someone else said: create the /usr/opt, move all the /opt
stuff into it; nuke /opt and then create the symlink.

John.

--------------------------------------------------------------------------
John Horne, University of Plymouth, UK             Tel: +44 (0)1752 233914
E-mail: jhorne at plymouth.ac.uk
Finger for PGP key: john at jhorne.csd.plymouth.ac.uk
--
lug-list - The Mailing List for the Devon & Cornwall LUG
Mail majordomo at lists.termisoc.org with "unsubscribe lug-list" in the
message body to unsubscribe.

Lynx friendly