ln -- Make LiNks between files.
Summary : Create a link to the specified TARGET with optional LINK_NAME. If LINK_NAME is omitted, a link with the same basename as the TARGET is created in the current directory. By default, it makes HardLinks. A "hard link" is another name for an existing file. The link and the original are share the same inode. So indistinguishable. A SoftLinks/SymbolicLinks/symlinks are a special file type. The link file actually refers to a different file, by name. At runtime kernel automatically "dereferences" the link and operates on the target of the link. Example: $ ln --help -- Show help info. $ ln A B -- Creates hard link B for file A. $ ln -b A B -- Same as above. If B is already exist then take a backup (B~) and creates new B. $ ln -b -S .bak A B -- Same as above. If B is already exist then take a backup with specified extension name(B.bak) & creates new B. $ ln -f A B -- Force. If B is exist then overwrite it. $ ln -i A B -- Interactive. Prompt the user for removing the already existing file B. $ ln -s A B -- Creates soft link B for file A. $ ln -s dir1/myfile -- Creates link ./myfile pointing to dir1/myfile. $ ln -s dir1/myfile myfile -- Creates link ./myname pointing to dir1/myfile. $ ln -s a b .. -- Creates links ../a and ../b pointing to ./a & ./b Read: man ln manoj -- Stupid fools go through life as their own enemies, doing evil deeds which have bitter consequences. 66 Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/~srivasta/> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to nlug-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en -~----------~----~----~----~------~----~------~--~---