Last Updated: November 28, 2021
·
19.46K
· oscardelben

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.

1 Response
Add your response

@fardjad that is good as well!

over 1 year ago ·