www/content/blog/commands/find-hardlinks.md

12 lines
234 B
Markdown

---
title: "Find hardlinks to a same file"
date: 2018-03-02
description: How to list hardlinks that link to the same file
tags:
- find
- simple utilities
---
{{< highlight sh >}}
find . -samefile /path/to/file
{{< /highlight >}}