ZgrKARALAR
ZgrKARALAR

Reputation: 489

Ubuntu - Curl X Times Repeat

I Want to use curl for 100 times repeat using terminal.

I try make something but it's not working.

for ((i=1;i<=100;i++)); do curl -0 mywebpageurl done

Upvotes: 4

Views: 1441

Answers (1)

LearningProcess
LearningProcess

Reputation: 613

You are missing a semi colon after the URL!

You have: for ((i=1;i<=100;i++)); do curl -0 mywebpageurl done

It should be: for ((i=1;i<=100;i++)); do curl -0 mywebpageurl; done

Upvotes: 5

Related Questions