Posted By

rm1984 on 06/30/16


Tagged

file Shell Bash random size head sh fixed urandom


Versions (?)

Generate a random file with random contents but with a fixed size


 / Published in: Bash
 

Generate a random file with random contents but with a fixed size

  1. $ head -c 100m < /dev/urandom > random_file_100MB

Report this snippet  

You need to login to post a comment.