TestOut Linux Pro Practice Test 2025 – All-in-One Guide to Master Your Certification!

Question: 1 / 400

What command would you use to show disk usage in a human-readable format?

df -h

The command that is used to show disk usage in a human-readable format is represented by the choice involving 'df -h'. The 'df' command, which stands for "disk filesystem," is used primarily to report the amount of disk space used and available on filesystems. The '-h' option modifies the output to present sizes in a more intuitive format, using units like kilobytes (K), megabytes (M), gigabytes (G), and so forth, instead of just bytes. This makes it much easier for users to understand the disk space usage at a glance.

The other choices do provide useful commands, but for different purposes. While 'du -h' is also a valid command for showing disk usage, it specifically reports the disk usage of files and directories, making an overall summary less straightforward than 'df -h'. The 'ls -lh' command displays information about files and directories in a human-readable format, including file sizes, but it doesn't provide an overview of disk usage as 'df' does. Lastly, 'diskusage' is not a standard command in Linux and would not function as intended.

Thus, 'df -h' is the most suitable choice for displaying overall disk usage in a clear and understandable

Get further explanation with Examzify DeepDiveBeta

du -h

ls -lh

diskusage

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy