On Tue, 9 Apr 2024, Tony Freeman wrote:
I seem to recall that some years ago ls -l would show the number of hard links to a file.
Yes with "ls -l" it's the first number you see (after the permissions string). Or you can use "stat -c %h filename" to just grab that number specifically.
Carl