Create a file of size x bytes

This post was originally published on my now defunct blog etl.svbtle.com

dd is a unix util that allows you to create a file of a particular size

$ dd if=/dev/zero of=/path/to/desired/big/file count=1024

This will create a file 1,024 bytes in size.