How to find hard links to a file

How to find hard links to a file in Linux?

asked Jan 19, 2013 by forum (2,150 points)
edited Aug 11, 2013 by SA

1 Answer

 
Best answer

To find out all hard links to file1:

$ find /home -xdev -samefile file1

Read more: http://linuxcommando.blogspot.com/2008/09/how-to-find-and-delete-all-hard-links.html

answered Jan 20, 2013 by SA (14,760 points)
edited Aug 11, 2013 by SA

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...