Numbers of Hard links - Terminal Output does not match instruction output

The step I’m having issues with:
3 ls 3/10

The issue is that although I understand what hard links are, and why this post Numbers of Hard links, I don't undertand it very well. why it's printed 4 instead of 6? says there are 4 in total, when it also prints 4.

What I don’t understand is why the instructions along the left showing the output from the last entered command shows it as 5 hard links, not 4.

I’ve put a picture below of what I see:

its just an example, you don’t know the complete file structure of the example, so it could well be 5 hard links.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.