nerdexam
GIAC

GCFA · Question #103

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. Which of the following commands wi

The correct answer is C. df D. df -m. The df command and its variants are used in Linux to display disk space usage and information about all mounted file systems.

Advanced Mac & Linux Forensics

Question

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. Which of the following commands will John use to display information about all mounted file systems? Each correct answer represents a complete solution. Choose all that apply.

Options

  • Adu
  • Bls
  • Cdf
  • Ddf -m

How the community answered

(58 responses)
  • A
    12% (7)
  • B
    17% (10)
  • C
    71% (41)

Why each option

The df command and its variants are used in Linux to display disk space usage and information about all mounted file systems.

Adu

The du (disk usage) command reports the disk space consumed by specific files and directories, not a summary of mounted file systems.

Bls

The ls command lists the contents of a directory and provides no information about mounted file systems or disk usage.

CdfCorrect

The df command (disk free) reports information about all mounted file systems, including total size, used space, available space, and mount points, directly satisfying the requirement to display mounted file system information.

Ddf -mCorrect

df -m is the df command with the -m flag, which displays the same mounted file system information as df but formats all size values in megabytes, also fully satisfying the requirement.

Concept tested: Linux df command for mounted file system information

Source: https://man7.org/linux/man-pages/man1/df.1.html

Topics

#df command#mounted filesystems#Linux commands#disk usage

Community Discussion

No community discussion yet for this question.

Full GCFA Practice