Last active
July 20, 2017 21:26
-
-
Save arobb/45ed57ef9fbfc0908e00bd24d8a1e37e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
https://superuser.com/questions/792427/creating-a-large-file-of-random-bytes-quickly | |
Slight modification to watch progress | |
dd if=<(openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero) \ | |
bs=1M count=7000 iflag=fullblock \ | |
| pv -pterb > random-7G.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment