Was working on a monitoring project, need to create a large file to test notifications.
Here is how we can do that.
Here is how we can do that.
Create a file of
500MB
in Windowsfsutil file createnew [filename] [bytes]
fsutil file createnew output.file.dat 53687091200
Create a file of
256M
in Linuxdd if=[input] of=[output] bs=[bytes] count=[blocks]
dd if=/dev/zero of=output.file.dat bs=256M count=1
Create a file of
512MB
in Linux dd if=/dev/zero of=output.file.dat bs=256M count=2
Comments
Post a Comment