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

15 lines
221 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:
- linux
- toolbox
- unix
---
## The command
```sh
find . -samefile /path/to/file
```