aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/find-inodes-used.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/blog/commands/find-inodes-used.md')
-rw-r--r--content/blog/commands/find-inodes-used.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/blog/commands/find-inodes-used.md b/content/blog/commands/find-inodes-used.md
index 60be706..4936c70 100644
--- a/content/blog/commands/find-inodes-used.md
+++ b/content/blog/commands/find-inodes-used.md
@@ -3,10 +3,13 @@ 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 >}}