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?
|
feedback
|
|
Try this with GNU
Example output:
You could use | |||||
feedback
|
|
If you don't have GNU Find you can do this:
But it won't work for symbolic links. | |||
feedback
|