LPI
117-101 · Question #16
117-101 Question #16: Real Exam Question with Answer & Explanation
The correct answer is B. foo would be removed whilebar would remain accessible.. See the full explanation below for the reasoning.
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.
Community Discussion
No community discussion yet for this question.