Interview Question

Software Engineer Interview Los Angeles, CA

Explain the difference between a hard and a soft link in

  Unix?
Answer

Interview Answer

1 Answer

0

If a hard link gets created between two files,then even if original file gets deleted linked file would have all the data.In case of soft link if original file gets deleted linked file can't get data.Soft links can be used with files on different systems a quality hard links don't have.

Arif Mahmood on Aug 9, 2012

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up