for i in 10 20 50 100 200 400 800 1000 1100 1200 1300 1400 1450 1460 1470 1480 1490 1500 do off=meow"$i"b bss=$i dd if=meow of=$off bs=$bss count=1 done Output: root@redball27:/home/admin/meowfiles# ./meowmaker.sh + ./meowmaker.sh 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.8e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.2e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4e-05 seconds, 0 B/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.4e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.2e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.5e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.4e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.3e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.2e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.9e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.1e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.6e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.4e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.4e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.3e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.3e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.3e-05 seconds, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 4.3e-05 seconds, 0.0 kB/s ++ echo -ne '\033]0;root@redball27: /home/admin/meowfiles\007' root@redball27:/home/admin/meowfiles#