Linux – how many i-nodes are used in current folder

This command is very useful in case you run out of i-nodes and you cannot save any more files.

find . -printf "%hn" | cut -d/ -f-2 | sort | uniq -c | sort -rn

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*