how to create a file with 9983137 columns containing 0/0?

advertisements

i'm not good in programming, so i'm asking the very basic question : how to create a file with 9983137 columns, each one containing 0/0 ?

I tried it using vim but I didn't succeed.. Some help would be appreciated, thanks in advance,

vschill


perl -e 'print "0\0 " for (1..9983137) ;' > largefile.txt

to verify use the wc command on the generated file