CompTIA
LX0-101 · Question #423
An administrator has read/write permissions on an ordinary file foo. The administrator has just run ln foo bar. Which of the following would occur if the administrator ran rm foo?
The correct answer is B. foo would be removed while bar would remain accessible. See the full explanation below for the reasoning.
Question
An administrator has read/write permissions on an ordinary file foo. The administrator has just run ln foo bar. Which of the following would occur if the administrator ran rm foo?
Options
- Afoo and bar would both be removed.
- Bfoo would be removed while bar would remain accessible.
- Cfoo would be removed. bar would still exist but would be unusable.
- DBoth foo and bar would remain accessible.
- EThe administrator would be asked whether bar should be removed.
How the community answered
(44 responses)- A5% (2)
- B84% (37)
- C9% (4)
- E2% (1)
Community Discussion
No community discussion yet for this question.