Which of the following commands should the administrator issue to verify the device name of this partition?

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?
A . sudo fdisk /dev/sda
B . sudo fdisk -s /dev/sda
C . sudo fdisk -l
D . sudo fdisk -h

Answer: C

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. This is the correct command to use to accomplish the task. The other options are incorrect because they either do not list the partitions (sudo fdisk /dev/sda or sudo fdisk -h) or do not exist (sudo fdisk -s /dev/sda).

Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 10: Managing Storage, page 317.

Latest XK0-005 Dumps Valid Version with 136 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments