Linux USB Drives

Get a list of drives (use sudo if not root):

fdisk -l

Note the name of the USB drive. Example: “sdb1”

...
Device    Start End     Sectors Size  Type
/dev/sdb1 2048  2070527 206840  1010M Microsoft basic data
...

Create a directory for the drive:

mkdir /media/usb-drive

Mount the drive:

mount /dev/sdb1 /media/usb-drive

Verify mount (look for the drive in the output of the following command):

mount | grep sdb1

Unmount:

umount /media/usb-drive