Finding all symbolic and hard links to a file on UNIX
- by colin.t.welch
If I have a specific file in a UNIX filesystem, is there a way to use bash to find all links to that file, both symbolic and hard? If I need different commands for each, what are they?