aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/find-hardlinks.md
blob: e8ebbeaee699f8d168f9ad7c250ac43622ae768c (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

```sh
find . -samefile /path/to/file
```