Posted By

dertimbo on 01/26/09


Tagged

filesize file empty byte dummy generate dd


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

scottshane


Create emtpy file with predefined size


 / Published in: Bash
 

Writes 20 blocks of 1024 bytes to "filename" (equals a filesize of 20KB)

  1. dd if=/dev/zero of=filename bs=1024 count=20

Report this snippet  

You need to login to post a comment.