black electronics

Check Block Devices

Common lsblk commands for listing connected block devices on Linux.

lsblk lists the block devices connected to a system, such as disks, partitions and USB drives, in a tree-like structure. It reads from the /sys virtual filesystem and the udev database, so it doesn’t need root to run.

Terminal window
lsblk # List connected block devices, including USB drives and their partitions
Useful LinksPentest PayloadsCheat Sheets