mkfs.ext4 /dev/sdb1
: Create an ext4
file system on /dev/sdb1
.mkfs -t vfat /dev/sdc1
: Create a vfat
file system on /dev/sdc1
.mkfs -t ntfs /dev/sdd1
: Create an ntfs
file system on /dev/sdd1
.Note that in the above commands, /dev/sdb1
, /dev/sdc1
, and /dev/sdd1
are paths to the devices to be formatted. You should replace them with the actual device paths.