CompTIA Linux+ (XK0-005) — Question 141

A Linux systems administrator receives a notification that one of the server’s filesystems is full. Which of the following commands would help the administrator to identify this filesystem?

Answer options

Correct answer: C

Explanation

The command 'df -h' displays disk space usage for all mounted filesystems, making it the best choice for identifying a full filesystem. In contrast, 'lsblk' shows block devices, 'fdisk' is used for partitioning disks, and 'du -ah' provides disk usage of files and directories, which does not give an overview of filesystem usage.