CompTIA Linux+ (XK0-004) — Question 19

Which of the following will provide a list of all flash, external, internal, and SSD drives?

Answer options

Correct answer: C

Explanation

The correct answer is C, as the 'lsblk' command lists all block devices, including various types of drives. Option A, 'lspci', is used for listing PCI devices, while B, 'lsmod', shows loaded kernel modules, and D, 'lsusb', lists USB devices, none of which provide the comprehensive drive listing that 'lsblk' does.