Get List of USB Drives in Linux Terminal, and mount themGet List of USB Drives in Linux Terminal, and mount themInstead of using lsusb, use the following command to get a comma separated list of USB disk drives,
1$ lsblk | grep “sd[^a]” | tail -n +2 | cut -c7-10 | sed ‘/^ $/d’ | paste -s -d,
Continue Reading