How-to Create a 1M file

Gregory Mingus plug-discuss@lists.PLUG.phoenix.az.us
Thu, 10 May 2001 11:05:02 -0700


This line should do it...

echo `perl -e 'print "A"x999999'` > junkfile

-Greg-

-----Original Message-----
From: plug-discuss-admin@lists.PLUG.phoenix.az.us
[mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of Gilbert
T. Gutierrez, Jr.
Sent: Thursday, May 10, 2001 10:53 AM
To: plug-discuss@lists.PLUG.phoenix.az.us
Subject: How-to Create a 1M file


I need to create a junk file that is precisely 1MB.  How would I go about
doing that?

Gilbert Gutierrez, Jr.

________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss