Create 1GB File With Random Data Using Debian’s Terminal

The first question is obvious - Why would anyone want to do that? Apart from reason because he can 😀 there is a really good one - when you need to test speed of your network or hard drives - you just create a file of needed size and copy it to other place (or wget it). So how to do it? It's fairly easy: dd if=/dev/random of=1GB_file.bin bs=1024 count=1073741824 so what it does? dd  is disk manipulation utility if=/dev/random where to read from (so it reads random data) of=1GB_file.bin where Read more [...]