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
Can you explain a little bit about command substitution?
What is grep and how do you use it?
How do you repeat a command in terminal?
What does awk stand for?
Which command is used to restrict incoming messages?
What is unix command line?
What does #!/ Bin sh do?
What are file commands?
How can we use grep command in unix?
What are the differences among a system call, a library function, and a unix command?
What do chown command do?
Explain command to show the space allocation of files?
Which command is used to kill the last background job?
Write a command that will display files in the current directory, in a colored, long format.
What is grep command in unix with examples?