Bootstrap FreeKB - Linux Commands - df command (inodes)
Linux Commands - df command (inodes)

Updated:   |  Linux Commands articles

The df command with the -i or --inodes flag can be used to list the number of inodes being used by a filesystem.

df --inodes

 

Something like this should be returned.

Filesystem                 Inodes   IUsed   IFree  IUse%   Mounted on
/dev/mapper/rootvg-lv_opt  2097152  1807492 289660   87%   /opt

 

The -h or --human-readable flag can be used to display the size in bytes, kilobytes, megabytes or kilobytes.

df -hi

 

Something like this should be returned.

Filesystem                 Inodes   IUsed   IFree  IUse%   Mounted on
/dev/mapper/rootvg-lv_opt  2.0M     1.8M    283K   87%   /opt



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 3ce34c in the box below so that we can be sure you are a human.