Services and User Management

A technician runs 'ls -li' in a directory and sees two entries: '1048593 -rw-r--r-- 2 root root 120 Jan 5 10:00 hosts.conf' and '1048593 -rw-r--r-- 2 root root 120 Jan 5 10:00 hosts.bak'. Which conclusion is correct?

Show the answer

Correct answerD. hosts.conf and hosts.bak are hard links to the same inode.

Identical inode numbers and a link count of 2 show two names for one file, which is a hard link. A symbolic link would show 'l' in the mode and its own inode. Removing one name only lowers the link count, so the data stays reachable.