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


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

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


Copy this code and paste it in your HTML
  1. $ head -c 100m < /dev/urandom > random_file_100MB

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.