LPI
101-500 · Question #307
101-500 Question #307: Real Exam Question with Answer & Explanation
Sign in or unlock 101-500 to reveal the answer and full explanation for question #307. The question stem and answer options stay visible for context.
GNU and Unix Commands
Question
You have read/write permission on an ordinary file foo. You have just run ln foo bar. What would happen if you ran rm foo?
Options
- Afoo and bar would both be removed.
- Bfoo would be removed whilebar would remain accessible.
- Cfoo would be removed. bar would still exist but would be unusable.
- DBoth foo and bar would remain accessible.
- EYou would be asked whether bar should be removed.
Unlock 101-500 to see the answer
You've previewed enough free 101-500 questions. Unlock 101-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#hard links#inode#rm command#reference counting