linux run command in loop code example
Example: linux run command in loop
// this is simple for loop with sleep
for i in {1..10}; do echo -n "This is a test in loop $i "; date ; sleep 2; done
// this is simple for loop with sleep
for i in {1..10}; do echo -n "This is a test in loop $i "; date ; sleep 2; done