CompTIA Linux+ Powered by LPI (LX0-103) — Question 44
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
Answer options
- A. File size
- B. Modify timestamp
- C. Link count
- D. Inode number
- E. Permissions
Correct answer: C
Explanation
The correct answer is C, as creating a hard link increases the link count of the original file. The file size, modify timestamp, inode number, and permissions remain unchanged when a hard link is created.