Quickly create large binary files for testing
For Unix-based systems:
#creates 1Mb file
dd if=/dev/zero of=test.img bs=1024 count=0 seek=1024
#create a 10Mb file
dd if=/dev/zero of=test.img bs=1024 count=0 seek=$[1024*10]
Written by Mike Hourahine
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#