nerdexam
LPI

101-400 · Question #46

After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?

The correct answer is B. foo would be removed while bar would remain accessible. See the full explanation below for the reasoning.

Question

After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?

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 user is prompted whether bar should be removed, too.

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    79% (31)
  • C
    3% (1)
  • D
    10% (4)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice