nerdexam
CompTIA

LX0-103 · Question #111

Which of the following commands will print the inode usage on each mounted filesystem?

The correct answer is B. df -i. The df command with the -i flag reports inode usage (used, free, and percentage) for each mounted filesystem.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

Which of the following commands will print the inode usage on each mounted filesystem?

Options

  • Adu -i
  • Bdf -i
  • Clsfs -i
  • Dprintfs -i

How the community answered

(49 responses)
  • A
    4% (2)
  • B
    92% (45)
  • C
    2% (1)
  • D
    2% (1)

Why each option

The df command with the -i flag reports inode usage (used, free, and percentage) for each mounted filesystem.

Adu -i

The du command reports disk space used by files and directories recursively; it does not have an -i option for inode reporting.

Bdf -iCorrect

The df -i command displays inode information rather than block usage for every currently mounted filesystem, showing total inodes, used inodes, free inodes, and the percentage used. This is essential for diagnosing situations where a filesystem has free disk space but cannot create new files because all inodes are exhausted.

Clsfs -i

lsfs is not a standard Linux command - it exists on IBM AIX systems but is not part of standard Linux distributions.

Dprintfs -i

printfs is not a valid Linux command - no such filesystem reporting utility exists.

Concept tested: Reporting inode usage per filesystem with df -i

Source: https://man7.org/linux/man-pages/man1/df.1.html

Topics

#df -i#inode usage#filesystem statistics

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice