[ale] making empty files
Dylan Northrup
docx at io.com
Wed Mar 19 09:00:01 EST 2003
A long time ago, (18.03.03), in a galaxy far, far away, Jason Vinson wrote:
:=i am attempting to make files of various sizes to do transfer tests on
:=my network, and i know there is a command to make an empty file of a
:=specific size. Can anyone give me a hint?
dd if=/dev/zero of=YOUR_FILENAME bs=1024 count=NUMBER_OF_KBYTES
This works for me. If you're using solaris, you can always use mkfile. . .
mkfile 200m foo; mkfile 20k bar; mkfile 1b baz
Hope this helps.
--
Dylan Northrup <*> docx at io.com <*> http://www.io.com/~docx/
"Harder to work, harder to strive, hard to be glad to be alive, but it's
really worth it if you give it a try." -- Cowboy Mouth, 'Easy'
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list