Master Linux Like a Pro: Dive into the 2026 RHEL Red Hat Challenge!

Question: 1 / 400

How can you check the disk usage of the filesystem?

diskUsage -h

df -h

To assess disk usage of the filesystem, the command that is typically utilized is `df -h`. This command displays the amount of disk space used and available on filesystems in a human-readable format, which makes it easy for users to understand the output without needing to interpret raw numerical data. The `-h` option specifically causes the command to provide sizes in a format that's easier to read, such as kilobytes (K), megabytes (M), or gigabytes (G).

The `df` command is particularly useful because it gives a comprehensive overview of all mounted filesystems, indicating how much space is utilized and how much is still free. This information can be crucial for system administrators in managing disk resources and ensuring systems are running efficiently.

Other options do not perform the same function: while `du -hs` focuses on the disk usage of specific directories rather than overall filesystem usage, and the other choices are not standard commands in Linux, making them invalid for checking disk usage. Thus, `df -h` stands out as the correct tool for this task.

Get further explanation with Examzify DeepDiveBeta

du -hs

check-disk

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy