bash seq 0 100 > ids.txt cat ids.txt | while read in; do echo -n "$in" | md5sum | awk '{print $1}' >> md5sum.txt done