Monthly Archives: April 2010

Creating Testfiles of Given Length

Use the Unix /dev/zero device (which produces an infinite stream of bytes with value zero) together with the dd block copier to create files of any length, useful for testing. dd if=/dev/zero of=test.bin bs=1024\*1024 count=4 … creates a file called … Continue reading

  • Share/Bookmark
Posted in Software Engineering | Tagged | Leave a comment