How-to Create a 1M file

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David A. Sinck
Date:  
Subject: 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