What command can be used to check for available disk space in Linux?

Prepare for the LPI Linux Essentials 010-160 Test with our comprehensive quiz platform offering flashcards and multiple choice questions. Hints and explanations provided for each question. Get exam-ready with ease!

The command that can be used to check for available disk space in Linux is 'df -h.' This command displays the amount of disk space used and available on file systems. The '-h' option stands for human-readable format, which makes the output easier to understand by displaying sizes in KB, MB, or GB instead of just bytes.

Using 'df -h' provides a snapshot of your disk space usage across mounted file systems, making it a valuable tool for system administrators who need to monitor storage usage regularly. The command outputs information like the filesystem name, total size, used space, available space, and the mount point, allowing users to assess disk resource allocation effectively.

Other options mentioned do not represent valid commands for checking disk space; therefore, they would not be effective in achieving this objective.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy