Re: Find hard links?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



D. D. Brierton wrote:
I know that you can use find like so:

find -type l

to find symbolic links, but does anyone know how one finds hard links?

Try:

$ find /some/directory -links +1 -type f -ls

The files with the same numbers in the left hand column are hard linked to each other.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux