October
10
Linux: Create a small file of random data
There a several ways to create a file with random data.
Here are two options:
head -c 100k /dev/urandom > test.txt
dd if=/dev/urandom of=test2.txt bs=1k count=100
The key is creating the data from /dev/urandom or /dev/random
By: Timothy Conrad