nerdexam
LPI

101-400 · Question #370

Which of the following is true when hard-linked files are present?

The correct answer is C. Both files will share the same inode. See the full explanation below for the reasoning.

Question

Which of the following is true when hard-linked files are present?

Options

  • AThe output of stat will report "hard" instead of "regular file"
  • BThe hard-linked files may not be empty
  • CBoth files will share the same inode
  • DIssuing a longdirectory listing with ls -1 will indicate the link with "->"
  • EThe file permissions will be prefixed by an "h", eg. hrwxr-x-r-x

How the community answered

(31 responses)
  • A
    10% (3)
  • C
    81% (25)
  • D
    6% (2)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice