CompTIA Linux+ (XK0-005) — Question 170

A Linux administrator has physically added a new RAID adapter to a system. Which of the following commands should the Linux administrator run to confirm that the device has been recognized? (Choose two.)

Answer options

Correct answer: C, F

Explanation

The commands 'lshw -class disk' and 'dmesg' are used to check for hardware recognition in Linux. 'lshw -class disk' provides detailed information about disk devices, while 'dmesg' displays kernel messages, including those related to newly added hardware. The other options do not serve this purpose: 'rmmod' is for removing modules, 'ls -ll /etc' lists files in a directory, 'pvdisplay' is for physical volumes in LVM, and 'rmdir /dev' attempts to remove a directory.