Create a hard link "hlink.txt" and a soft link "slink.txt" for "myfile.txt". Now delete the source file "myfile.txt". What will happen to the link files? can able to access both the link files able to access the file "hlink.txt" but not "slink.txt" can't able to access both the link files able to access the file "slink.txt" but not "hlink.txt"
Answers
Answered by
0
Answer:
able to access the file "hlink.txt" but not "slink.txt"
Step-by-step explanation:
Answered by
0
We are asked to answer the question of what happens when myfile.txt is deleted.
- Hard links and soft links are how shortcuts are created in UNIX/LINUX.
- Soft links are shortcuts that just point to the directory/file.
- Hard links are shortcuts that copy the whole directory/file to the new location.
- Therefore, when the original files are created the hard links are still assessable but the soft links are not assessable.
- So in the above question hlink.txt" which is the hard link will be assessable while as soft link "slink.txt" will not be assessable when "myfile.txt" is deleted.
PROJECT CODE: #SPJ3
Similar questions
Math,
27 days ago
English,
27 days ago
Science,
1 month ago
Social Sciences,
1 month ago
English,
9 months ago
Social Sciences,
9 months ago