Home>Article>Operation and Maintenance> How to format hard drive in linux
You can use the following command to format the hard disk in Linux:
mkfs -t type dev
Parameter introduction:
mkfs: format command, create file system
-t: Specify the file system type
type: Specific file system type. For example: ext2, ext3
dev: device file, usually a partition
Example:
Recommended learning:Linux video Tutorial
The above is the detailed content of How to format hard drive in linux. For more information, please follow other related articles on the PHP Chinese website!