Skip to main content

Generate a file named file.txt with 100,000 bytes (approx. 10 MB) of random data.

# generate a file named file.txt with 100,000 bytes (approx. 10 MB) of random data.
dd if=/dev/urandom of=file.txt bs=100000 count=100