aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/find-inodes-used.md
blob: 4936c7001fbd76e1b787c8c37b1ef21e8aa86289 (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

{{< highlight sh >}}
find . -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
{{< /highlight >}}