GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CRFILE(1) CRFILE(1)

crfile - Create arbitrary sized files

crfile -f filename -s size [-w[len] | -n]

crfile is used to create a file of the specified size, filled with random ASCII characters. The -n switch allows the creation of files padded with null characters (ie. containing large 'holes') that have an apparent length of the specified size, but contain only one random character.

-f filename
specifies the file to be created. If the file exists, an error is generated.
-s size
size is the size of the file, in bytes
-wlen
wrap each line of output at len characters. If len omitted, wrap at 80 characters.
-n
Pad the file with null characters instead of random ASCII text. This allows for the rapid creation of large files (useful for verifying that programs can deal with files > 2GB in size, for example).

Julian T. J. Midgley <jtjm@xenoclast.org>

March 20, 2001

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.