Created
June 4, 2012 15:04
-
-
Save deltheil/2868896 to your computer and use it in GitHub Desktop.
Create a file of given size with random data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# `head -c bytes` | |
# e.g. for a 1kb file: | |
cat /dev/random | head -c 1024 > data.bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cheers :)