Random file of set length

Pàgina inicial
Adjunts:
Missatge com a correu electrònic
+ (text/plain)
Delete this message
Reply to this message
Autor: Nick Estes
Data:  
Assumpte: 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