1.writeLog.sh
for i in $(seq 1 10000) do d=$(date +%Y%m%d%H%M) echo "$d""--------$i">>/home/test/test.txt done