Last active
December 20, 2015 22:28
-
-
Save tekk555/6204835 to your computer and use it in GitHub Desktop.
任意のサイズのランダムなバイナリファイルを作成する.Ubuntu 12.04LTS
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
# 100 byte | |
dd if=/dev/urandom of=/var/100byte.dat count=100 bs=1; | |
# 150 kbyte | |
dd if=/dev/urandom of=/var/150kbyte.dat count=150 bs=1k; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment