Random file of set length

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Estes
Date:  
Subject: 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