I was asked a question recently and while the answer is easy a lot of people don’t bother googling first. The question was: How can I find the device name of a USB drive for example on Linux? It’s easy, all you do is open the terminal, and type:
$ lsblk
This will show you all the block devices connected onto your Linux system in the form of a tree. It also shows partitions, so it’s useful to check what’s mounted onto your device. It reads the sysfs filesystem to gather information and displays it.
You can get the parameter list by typing:
$ lsblk --help
The USB devices are usually mounted under/media/XXXXX. The device name appears in the left column obviously under NAME and it looks like sda or sdd or something like that.