What is the difference between a hard link and a soft link in Unix?



What is the difference between a hard link and a soft link in Unix?..

Answer / nashiinformaticssolutions

• Hard Link: A direct pointer to the file’s data on the disk. Hard links share the same inode number as the original file and continue to exist even if the original file is deleted.
• Soft Link (Symbolic Link): A pointer to the file name rather than the file’s data. It is a separate file with its inode number. If the original file is deleted, the soft link becomes a dangling link, pointing to a non-existent file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What happens when we execute a unix command?

0 Answers  


What is sed awk grep?

0 Answers  


How do you change your account's password?

6 Answers  


Is it inbetween or in between?

0 Answers  


How do I clear my terminal history?

0 Answers  


Give the command for finding the current date.

0 Answers  


What is the difference between pipe (|) and tee command in unix

14 Answers   Cap Gemini, TCS,


What is the difference between Shell Programming and Shell scripting?

10 Answers   HCL, TCS, Wipro,


What is the difference between udp and tcp?

2 Answers   HCL, TCS,


Describe the zip/unzip command using gzip.

0 Answers  


boot process?

2 Answers   Atos Origin, Wipro,


How to install scsi driver in unix? give me explanation clearly?

1 Answers   HCL, TCS,


Categories