Thursday, 12 July 2018

soft link vs Hard link


A soft link does not contain the data in the target file.
A soft link points to another entry somewhere in the file system.
A soft link has the ability to link to directories, or to files on remote computers networked through NFS.
Upon deleting a soft link, you delete a target file, symbolic links to that file become unusable.
A hard link preserves the contents of the file.
A hard link cannot be created for directories, and they cannot crossfilesystem boundaries or span across partitions.
In a hardlink you can use any of the hardlink names created to execute a program or script in the same manner as the original name given.


No comments:

Post a Comment