Use the following command to create a 10MB file.
- dd if=/dev/zero of=<filename> bs=1024k count=10
The output file size is equal to bs x count.
Done =)
Reference: Creating Empty File with Specified Size
Use the following command to create a 10MB file.
The output file size is equal to bs x count.
Done =)
Reference: Creating Empty File with Specified Size