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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is grep faster than awk?

780


What are reported commands?

850


How do I delete files from command prompt?

864


How does pipe () work?

823


What command is used to switching between users in unix?

809


What are the dos commands?

921


Using unix command how to display no of records in oracle?

884


What does the md command do?

819


What is the use of sed command in unix?

883


How do you repeat a command in terminal?

886


What are the general commands in using unix os for a beginner?

854


What is awk command used for?

814


Write a command to display a file’s contents in various formats?

889


What is the search command in unix?

859


Who command in unix operating system?

892