Random file of set length

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: Nick Estes
Datum:  
Onderwerp: Random file of set length
> I want to create a random file of 5MB. How do I do that?

dd if=/dev/urandom ibs=1M count=5 of=foo

    --Nick