How-to Create a 1M file

Gilbert T. Gutierrez, Jr. plug-discuss@lists.PLUG.phoenix.az.us
Thu, 10 May 2001 11:23:16 -0700


I figured it out...

dd if=/dev/zero of=1meg bs=10000 count=100

Gilbert Gutierrez, Jr.

> I need to create a junk file that is precisely 1MB.  How would I go about
> doing that?
> 
> Gilbert Gutierrez, Jr.