1.

Write difference between Hard link and Soft Link.

Answer»
Hard LinkSoft Link
Hard-linked files have the same INODE number. Soft-linked files have different inode numbers.
Despite deleting the target file, it REMAINS valid.When an original file is deleted, it BECOMES invalid.
Hard links are faster than soft links. Soft links are SLOWER than hard links.
The command used for creating a hard link in Linux is "ln".  The command used for creating a soft link in Linux is “ln -s”.
There is no way to use it ACROSS file systems.  You can use it on any file system.
Hard links cannot use relative paths. Both absolute and relative paths can be used in soft links. 


Discussion

No Comment Found