nerdexam
CompTIA

XK0-005 · Question #463

A Linux administrator is creating a primary partition on the replacement hard drive for an application server. Which of the following commands should the administrator issue to verify the device…

The correct answer is C. sudo fdisk -l. The command sudo fdisk -l should be issued to verify the device name of the partition. The sudo command allows the administrator to run commands as the superuser or another user. The fdisk command is a tool for manipulating disk partitions on Linux systems. The -l option lists…

System Management

Question

A Linux administrator is creating a primary partition on the replacement hard drive for an application server. Which of the following commands should the administrator issue to verify the device name of this partition?

Options

  • Asudo fdisk /dev/sda
  • Bsudo fdisk -s /dev/sda
  • Csudo fdisk -l
  • Dsudo fdisk -h

How the community answered

(44 responses)
  • A
    2% (1)
  • B
    5% (2)
  • C
    86% (38)
  • D
    7% (3)

Explanation

The command sudo fdisk -l should be issued to verify the device name of the partition. The sudo command allows the administrator to run commands as the superuser or another user. The fdisk command is a tool for manipulating disk partitions on Linux systems. The -l option lists the partitions on all disks or a specific disk. The command sudo fdisk -l will show the device names, sizes, types, and other information of the partitions on all disks. The administrator can identify the device name of the partition by looking at the output.

Topics

#Linux commands#Disk management#Partitioning#fdisk

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice