On Fri, 1 Feb 2002 15:22:51 +0800
"Jason Lim" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Just wanted to know... how do I make a file with all 1s or 0s or
> something with a certain size (eg. 100Mb)?
> 
> I was thinking 'dd something' but there is probably a better way?

why not dd?

dd if=/dev/zero of=/tmp/yourfile bs=1m count=100


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to