[CentOS] repeat command

Bart Schaefer barton.schaefer at gmail.com
Sat May 4 16:07:48 UTC 2013


On Thu, May 2, 2013 at 2:05 PM, Matt <matt.mailinglists at gmail.com> wrote:
> There is a unix command called repeat.
>
> repeat 10 some_command

Someone has already mentioned tcsh, but this is also a builtin
(syntactic operator like "while" or "for", actually) in zsh.

repeat 10 simple_command
repeat 10 do list; of; commands; done
repeat 10 { list; of; commands }



More information about the CentOS mailing list