How-to Create a 1M file

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Gilbert T. Gutierrez, Jr.
Data:  
Asunto: How-to Create a 1M file
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.