Posted By

wearetherock on 03/13/10


linux dummy dd

Versions (?)

Create Dummy File In Linux

 / Published in: Bash


  1. $ dd if=/dev/zero of=filename bs=1k count=5 # 5KB of zero content
  2. $ dd if=/dev/urandom of=filename bs=1M count=7 # 7MB of random content
  3. $ touch filename # create 0B file (if file exists, updates mtime)

Report this snippet  

You need to login to post a comment.