Random file of set length

Matt Alexander plug-discuss@lists.plug.phoenix.az.us
Wed, 11 Sep 2002 15:40:11 -0700 (PDT)


On Wed, 11 Sep 2002, Gilbert T. Gutierrez, Jr. wrote:

> I want to create a random file of 5MB.  How do I do that?

dd if=/dev/zero of=somefile bs=1024k count=5