Skip to content

Instantly share code, notes, and snippets.

@tleen
Created July 26, 2014 15:31
Show Gist options
  • Save tleen/2e2ec2e4cb8a8a0eb2a0 to your computer and use it in GitHub Desktop.
Save tleen/2e2ec2e4cb8a8a0eb2a0 to your computer and use it in GitHub Desktop.
Generate random 1M file on unix
head -c 1048576 </dev/urandom > filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment