[Sh] loop
for ((i=1;i<=100;i++)); do curl -v --header "Connection: keep-alive" "localhost:8080/user?uuid=52010&model_id=20&attr=0"; done
sentence="This is a sentence."
for word in $sentence
do
echo $word
done
https://unix.stackexchange.com/questions/129257/curl-url-call-in-for-loop
curl url call in for loop?
I am working with bash and I am trying to make a curl url call in a for loop. Below is my simple curl call - curl -v --header "Connection: keep-alive" "localhost:8080/user?userid=52010&client...
unix.stackexchange.com
https://hmjkor.tistory.com/416
[SHELL] 특정 날짜를 입력받아 지정된 날짜까지 LOOP 실행하기
사용자의 특정 날짜를 입력 받아서 지정된 날짜까지 일별로 loop를 돌면서 처리해야 하는 경우 해당 쉡을 사용한다. 간단하지만 변수에 담긴 date를 증가 및 감소 하는 법을 알지 못해 고생했다.
hmjkor.tistory.com
How to split one string into multiple strings separated by at least one space in bash shell?
I have a string containing many words with at least one space between each two. How can I split the string into individual words so I can loop through them? The string is passed as an argument. E....
stackoverflow.com