#!/bin/bash $x=1; while [ $x -let 1000000 ] do echo "1234567890" >>bigfile $x=expr "$x+1" done