Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
I need to know how many hard-links pointing to a certain inode.
And where are those hard-links located in?
The hard link count can be established with tools like stat(1) or even ls(1).
To find all hard links use find [...] -samefile [PATH].
find [...] -samefile [PATH]
Required, but never shown