Advertisement
kkDav1337

Run a single curl command multiple times

Nov 11th, 2019
14,336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.10 KB | None | 0 0
  1. #!/bin/bash
  2. #Usage: bash run.sh 100
  3. for i in $(eval echo {1..$1})
  4. do
  5. curl "http://example.com"
  6. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement