dd 生成指定大小的文件

dd if=/dev/zero of=file.txt bs=10M count=10

dd if=/dev/zero of=/tmp/file.txt bs=10M count=10

of=生成的文件名
bs=大小
count=数量