Archive for May 24th, 2007

Thursday, May 24th, 2007

Linux Tip #7: For loop on a range of numbers

Little know seq (sequence) utility is a great way to loop on a range of numbers in Linux. It came in very handy today and will hopefully stick in my brain in the future.
for i in `seq 1 10`
do
..
done

No Comments » - Posted in Linux, Programming by dkaz