Home >System Tutorial >LINUX >What is the format of fsutil command prompt command in Linux system
In the process of testing the hard disk or network, you need to find some large-capacity software for application testing. Now downloading or re-searching for the test files is a troublesome task, so I found the relevant linux boot disk creation tool. Two commandsLinux generates .o files to solve the dilemma encountered at work
Windows
Use the fsutil command. Windows usually comes with this command. You can use it directly;
Right click to run command prompt as administrator
The format of the command is: fsutilfilecreatenew new file name file size
example:
Create a file named imwghcom.zip in the root directory of drive D
1MB大小 fsutil file createnew D:imwghcom.zip 1048576 100MB大小 fsutil file createnew D:imwghcom.zip 104857600 1GB大小 fsutil file createnew D:imwghcom.zip 1073741824
Linux
You can directly use the dd command under the Linux systemlinux generates .o files, usually the system will come with it, no additional installation is required;
The format of the command is: ddif=/dev/zeroof=file to be generated bs=block size read count=number of blocks read
example:
Create a file with the suffix .dat in the /home directory
100MB大小 dd if=/dev/zero of=/home/100MB.dat bs=1M count=100 1GB大小 dd if=/dev/zero of=/home/1GB.dat bs=1M count=1024 10GB大小 dd if=/dev/zero of=/home/10GB.dat bs=1M count=10240
The above is the detailed content of What is the format of fsutil command prompt command in Linux system. For more information, please follow other related articles on the PHP Chinese website!