aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/find-inodes-used.md
blob: 4efad9d050afb5f4cf70ee337a5ee7c709952484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
title: "Find where inodes are used"
date: 2018-04-25
description: How to locate what is taking all the inodes in the subdirectory of a given device
tags:
  - linux
  - toolbox
  - unix
---

## The command

```sh
find . -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
```