Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Symbolic link vs Hard link in Linux



Links are more useful in Linux system and the same is Created at different purpose. Symbolic links are created with 'ln -s' option and hard link without 's' option. In case of hard link the Inode Number is same and we can create as many aliases to the same location and the other important point here is the content will get destroyed only if we remove the entire alias.
The Inode number for all the files linked through hard link will be same and in case of symbolic link the file is just linked to the source location. This is equivalent to the creation of short cuts created for windows software's. 


This post first appeared on All About Linux, please read the originial post: here

Share the post

Symbolic link vs Hard link in Linux

×

Subscribe to All About Linux

Get updates delivered right to your inbox!

Thank you for your subscription

×