Create emtpy file with predefined size

/ Published in: Bash
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. dd if=/dev/zero of=filename bs=1024 count=20

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.