aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/find-hardlinks.md
blob: d418cc39812474304b3627920f88e3a706df3507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
title: "Find hardlinks to a same file"
date: 2018-03-02
description: How to list hardlinks that link to the same file
tags:
  - linux
  - toolbox
  - unix
---

## The command

{{< highlight sh >}}
find . -samefile /path/to/file
{{< /highlight >}}