How to format disk in linux


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


mkfs.ext4 /dev/sdf


mkfs :  Make a Linux file system.


Writing superblocks and filesystem accounting information:
Was this helpful?

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.