Formatting USB drives in Linux from the command line (terminal) is very easy.
In this note i will show how to format an external HDD, SSD or USB flash drive in Linux from the command line using mkfs utility.
I will provide the examples of disk formatting to the most popular file system types: FAT32, exFAT, NTFS, EXT4, XFS and will show how to list the all supported file systems. (more…)