df -i to see the number of Inodes used ->
Or limit the output like:
Note, that numbers from
df -i won't necessarily match:
df -i also counts directories
- files that link to the same inode (hard links) will count only once
- Some special inodes that are not linked to any directory for internal use are not counted.
df will not traverse into mounted directories, e.g.
/boot or if you have a separate
/home partition. With
find, you can get that behavior using
Check this Answer on U&L SE.
I'd expect the result to be slightly less than the df -i count as a few file systems (including ext4) have a few special inodes that are not linked to any directory for internal use.