XK0-005 · Question #864
A systems administrator needs to check the size of the filesystem on the current application servers and ensure that the following filesystems are mounted: /var /var/log/audit /tmp /home/application…
The correct answer is B. df. To check the size of mounted filesystems and confirm their presence, the df command is the appropriate tool for a Linux administrator. It provides information about disk space usage on filesystems, including mount points and available capacity.
Question
A systems administrator needs to check the size of the filesystem on the current application servers and ensure that the following filesystems are mounted:
/var /var/log/audit /tmp /home/application Which of the following commands should the administrator use for these tasks?
Options
- Afdisk
- Bdf
- Cdu
- Dlsblk
How the community answered
(21 responses)- A5% (1)
- B90% (19)
- C5% (1)
Why each option
To check the size of mounted filesystems and confirm their presence, the df command is the appropriate tool for a Linux administrator. It provides information about disk space usage on filesystems, including mount points and available capacity.
fdisk is used for disk partitioning and does not show mounted filesystem sizes or confirm mount points.
The df command (disk free) displays the amount of available and used disk space for filesystems. This command is specifically designed to show information about mounted filesystems, which directly addresses the need to check their size and confirm they are mounted.
du (disk usage) is used to estimate file space usage by specific files or directories, not overall filesystem usage for mounted filesystems.
lsblk lists block devices and their information, but does not provide details on filesystem size or mount status in the concise way df does for the stated task.
Concept tested: Checking mounted filesystem disk usage
Source: https://manpages.ubuntu.com/manpages/jammy/man1/df.1.html
Topics
Community Discussion
No community discussion yet for this question.