Originally Posted by goumba
This is going to take a while, but something like this should work for you:
dd if=/dev/random of=filename bs=1M count=6000
You could also use bs=1G count=6
but you may get an error about not enough memory on such an operation.
Thanks, Yes, I was testing 'dd' command.But, the thing is it is slow. My command was:
# dd dd if=/dev/urandom of=file01 bs=1024 count=2097152
Little confusion, which one to use /dev/random or /dev/urandom so that I don't have to wait long to populate my file.