- Check list of disk or drives including partitions
$ lsblk
- Un mount drive
$ sudo umount /dev/sdbx
- Format USB with Extended File System(EXT)
$ sudo mkfs.ext4 /dev/sdbx
- Format USB with File Allocation Table(FAT)
$ sudo mkfs.vfat /dev/sdbx
- Format USB with New Technology File System(NTFS)
$ sudo mkfs.ntfs /dev/sdbx
Note: x = partition number