Perl NumList Gen
perl -e 'for($i=0; $i<=9999999999; $i++) {print "$i\n"}' > numberlist.txt
why not use crunch ?
Code:
/pentest/passwords/crunch/./crunch 10 10 0123456789 > numbers.txt