[CentOS] repeat command
Matt
matt.mailinglists at gmail.comFri May 3 21:38:30 UTC 2013
- Previous message: [CentOS] repeat command
- Next message: [CentOS] repeat command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> repeat 10 some_command Found this on the web somewhere: #!/bin/sh i=0 num=$1 shift while [ $(( i += 1 )) -le $num ]; do eval "$@" done Worked fine. Thanks.
- Previous message: [CentOS] repeat command
- Next message: [CentOS] repeat command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list