[CentOS] repeat command
John R. Dennison
jrd at gerdesas.comThu May 2 22:01:53 UTC 2013
- Previous message: [CentOS] repeat command
- Next message: [CentOS] repeat command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, May 02, 2013 at 04:26:06PM -0500, Matt wrote: > > repeat 10 dig @server-ip-address +short +tries=1 +time=1 your-zone.com a > > Can I do that with watch? No. But you can do it with 'seq': for x in $(seq 1 10); do dig @server-ip-address +short +tries=1 +time=1 your-zone.com a; done John -- TURKEY, n. A large bird whose flesh when eaten on certain religious anniversaries has the peculiar property of attesting piety and gratitude. Incidentally, it is pretty good eating. -- Ambrose Bierce, The Devil's Dictionary -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20130502/26757c4e/attachment-0001.sig>
- Previous message: [CentOS] repeat command
- Next message: [CentOS] repeat command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list