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

16 lines
221 B
Markdown
Raw Normal View History

2020-04-28 17:29:52 +02:00
---
title: "Find hardlinks to a same file"
date: 2018-03-02
description: How to list hardlinks that link to the same file
tags:
- linux
2021-03-12 18:12:41 +01:00
- toolbox
- unix
2020-04-28 17:29:52 +02:00
---
## The command
```sh
2020-04-28 17:29:52 +02:00
find . -samefile /path/to/file
```