Creating a 100mb file with dd
dd if=/dev/urandom of=my_big_file count=204800
A block is by default 512 bytes, so we tell dd to copy 204800 blocks. You can use dd for much more, like converting from lowercase to uppercase.
Written by Oscar Del Ben
Related protips
1 Response
@fardjad that is good as well!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#