Answers for "run linux command multiple times"

2

run linux command multiple times

// Run command in loop sleep not mandatory done is mandatory
for i in {1..10}; do command; sleep 5; done

example for i in {1..10}; do echo -n "This is a test in loop $i "; sleep 5; done
Posted by: Guest on May-02-2021

Code answers related to "run linux command multiple times"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language