XK0-004 · Question #392
An administrator attempted to save large files in a directory but was unsuccessful. Which of the following is the NEXT step to nvesbgate the issue?
The correct answer is D. Df -h. When large files cannot be saved to a directory, the df -h command is the appropriate first step to check available disk space on all mounted filesystems.
Question
An administrator attempted to save large files in a directory but was unsuccessful. Which of the following is the NEXT step to nvesbgate the issue?
Options
- AShare -h
- BSize -h
- CSwap -h
- DDf -h
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- D88% (22)
Why each option
When large files cannot be saved to a directory, the df -h command is the appropriate first step to check available disk space on all mounted filesystems.
share -h is not a standard Linux command for diagnosing disk space issues - no native share utility reports filesystem capacity.
size -h is not used for filesystem diagnostics - the size command reports section sizes of binary/object files, not available disk space.
swap -h is not a valid Linux diagnostic command - swap is virtual memory and is unrelated to filesystem capacity where files are stored.
The df -h command reports filesystem disk space usage in human-readable format, showing used, available, and total space for each mounted filesystem. Running it immediately reveals whether the target filesystem has reached capacity, which would prevent any new files from being written. This is the standard first diagnostic step when encountering file write failures on Linux.
Concept tested: Linux disk space diagnostics using df command
Source: https://man7.org/linux/man-pages/man1/df.1.html
Topics
Community Discussion
No community discussion yet for this question.