How to format disk in linux


 description

Format the disk /dev/sdf under linux and create an ext4 format file system

 command

mkfs.ext4 /dev/sdf

 parameter

mkfs :  Make a Linux file system.

 result

...
Writing superblocks and filesystem accounting information:

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.