aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/find-inodes-used.md
blob: efa29afd8c12e3b4b14487e96feb0e3778d859e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
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:
  - find
  - simple utilities
---

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