SK0-004 · Question #23
A technician is troubleshooting a Linux server and wants to inspect the free disk space on the /dev/sda partition of the system. Which of the following command line tools should the administrator…
The correct answer is D. df. The df command is the standard Linux utility for reporting filesystem disk space usage, including free space on a specific partition.
Question
A technician is troubleshooting a Linux server and wants to inspect the free disk space on the /dev/sda partition of the system. Which of the following command line tools should the administrator run to view available disk space on the partition?
Options
- Add
- Bdu
- Cls
- Ddf
How the community answered
(20 responses)- B5% (1)
- C5% (1)
- D90% (18)
Why each option
The df command is the standard Linux utility for reporting filesystem disk space usage, including free space on a specific partition.
dd is a data copy and conversion utility used for cloning drives or creating disk images, not for reporting disk space.
du (disk usage) reports the space consumed by specific files and directories, not the free space remaining on a partition.
ls lists directory contents and file metadata such as permissions and timestamps, and does not report partition-level disk space.
The df (disk free) command reports the amount of disk space used and available on mounted filesystems. Running df /dev/sda or df -h displays total size, used space, and available space for that partition. It is specifically designed for partition-level disk space reporting, unlike other utilities that operate on files or directories.
Concept tested: Linux df command for partition disk space inspection
Source: https://man7.org/linux/man-pages/man1/df.1.html
Topics
Community Discussion
No community discussion yet for this question.