Mounting a USB on Linux machine

  • find the name of the disk or the flash drive

sudo fdisk -l

  • create a folder that the usb will get mounted on

mkdir /media/usb-drive

  • mount the usb

mount /dev/sdc1 /media/usb-drive/

  • to check the USB drive got mounted on correctly

mount | grep sdc1

  • Unmounting the usb

umount /media/usb-drive

  • Permanent Mount >>>> add this line to /etc/fstab

/dev/sdc1 /media/usb-drive vfat defaults 0 0