How-to Create a 1M file

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: David A. Sinck
Fecha:  
Asunto: How-to Create a 1M file

\_ SMTP quoth Gilbert T. Gutierrez, Jr. on 5/10/2001 10:52 as having spake thusly:
\_
\_ I need to create a junk file that is precisely 1MB. How would I go about
\_ doing that?

Sorry, I have to:

emacs /var/lib/netscape-communicator
C-SPC
C-u 1 0 0 0 0 0 0 C-f
M-x write-region /tmp/1mgfile
C-x C-c

On a related topic, don't try to truncate 21M lines from a 468M file using vi.

David