[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT = just a quicky



On Fri, 1 Feb 2002 15:22:51 +0800
"Jason Lim" <maillist@jasonlim.com> 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



Reply to: