How-to Create a 1M file
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
This message is part of the following thread:
the complete thread tree sorted by date
Brian Cluff at
2001-05-10 20:17
Attachments:
Message as email
(text/plain)
Author:
David A. Sinck
Date:
2001-05-10 21:41
UTC
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