CompTIA
LX0-101 · Question #398
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 long directory listing with ls -l will indicate the link with "->"
- EThe file permissions will be prefixed by an "h", eg. hrwxr-x-r-x
How the community answered
(29 responses)- A10% (3)
- B3% (1)
- C79% (23)
- E7% (2)
Community Discussion
No community discussion yet for this question.