Which of the following will provide a list of all flash, external, internal, and SSD drives?
Click on the arrows to vote for the correct answer
A. B. C. D.C.
https://www.linux.com/learn/intro-to-linux/2017/3/how-format-storage-devices-linuxThe correct answer is C. lsblk.
Explanation:
A. lspci - This command is used to display information about all PCI buses and devices connected to the system. It will not provide information about storage devices.
B. lsmod - This command is used to display the status of loaded kernel modules. It will not provide information about storage devices.
C. lsblk - This command is used to list all block devices attached to the system, including internal and external storage devices such as hard drives, USB drives, and SSDs. It will display the device name, major and minor device numbers, the size of the device, and the partition layout.
D. lsusb - This command is used to display information about USB buses and the devices connected to them. It will not provide information about other types of storage devices like internal or external hard drives and SSDs.
Therefore, the correct option to list all flash, external, internal, and SSD drives is C. lsblk.