How do you tell if a file is a hard link Linux?

How do you tell if a file is a hard link Linux?
Answer
If you find two files with identical properties but are unsure if they are hard-linked,
use the ls -i command to view the inode number. Files that are hard-linked together share the same inode number. The shared inode number is 2730074, meaning these files are identical data.
 

Tìm kiếm

Back
Top