Soft & Hard Links in shell



=> Shortcuts are created using “links” on Linux. 
=> There are two types of links that can be used namely “soft link” and “hard link”
=> Soft links are link to the file name and can reside on different filesystem as well; 
=> however hard links are link to the node of the file and has to be on the same filesystem as that of the file. 
=>Deleting the original file makes the soft link inactive (broken link) but does not affect the hard link (Hard link will still access a copy of the file)  

No comments:

Post a Comment