whatis inode

Inode

Also known as: index node

The on-disk record that stores a file's metadata (owner, permissions, size, timestamps, block locations), everything except its name.

What Is an Inode in Linux?

A file name is just a directory entry pointing at an inode number. The inode holds the real metadata and the map to the file's data blocks. ls -i shows inode numbers and stat shows the full record.

Filesystems like ext4 create a fixed number of inodes at format time, so a disk can report "no space left" while df -h shows free space, because millions of tiny files used every inode. df -i reveals it.

Example

stat /etc/hostname
df -i