Create file with size for testing purpose
Have you guys even need to have some file with size and its content not neccessary! Here it is
$ dd if=/dev/zero of=output.dat bs=1024 count=10240
now we get file
-- name : output.dat
-- size :1024 * 10240 -> ~10mb
Thanks for (http://linuxcommando.blogspot.com/2008/02/create-file-of-given-size.html)
$ dd if=/dev/zero of=output.dat bs=1024 count=10240
now we get file
-- name : output.dat
-- size :1024 * 10240 -> ~10mb
Thanks for (http://linuxcommando.blogspot.com/2008/02/create-file-of-given-size.html)
Comments
Post a Comment