[CentOS] repeat command

m.roth at 5-cent.us m.roth at 5-cent.us
Thu May 2 21:16:05 UTC 2013


Matt wrote:
> There is a unix command called repeat.
>
> repeat 10 some_command
>
> 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

     mark




More information about the CentOS mailing list