On Thu, May 2, 2013 at 4:16 PM, <m.roth@xxxxxxxxx> wrote: > >> Basically repeats some command ten times. Is it available on Centos 6 >> and what package provides it? > > Would never have looked for it - for (( i=-; $i < 10; i++ )); do echo $i;done > I'm even more old-school with bourne syntax: i=0 while [ $i -lt 10 ] do echo $i i=expr `$i + 1` done Just replace the 'echo $i' whit whatever command you want - or add it on the next line so you can see the iteration count too. -- Les Mikesell lesmikesell@xxxxxxxxx _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos