format flashdisk terminal 1

format flashdisk terminal

sudo fdisk -l #find device flashdisk - example /dev/sdb1
sudo umount /dev/sdb1 #reject flash
sudo mkfs.ntfs /dev/sdb1 #make flash disk ntfs format, if fat use mkfs.fat

Here is what the above code is Doing:
1. sudo fdisk -l #find device flashdisk – example /dev/sdb1
2. sudo umount /dev/sdb1 #reject flash
3. sudo mkfs.ntfs /dev/sdb1 #make flash disk ntfs format, if fat use mkfs.fat

Similar Posts