Inspect hard link count with ls/stat.
Section: Links and Link Recipes
Find files sharing same inode count
bash
bash
find . -type f -links +1 -lsLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Links and Link Recipes
Replace symlink atomically-ish
Create or update a symlink target with force.
Inspect path components
Resolve each path component and symlink along the path.