Answers for "how to run a for loop in linux command line"

3

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
Posted by: Guest on May-02-2021

Code answers related to "how to run a for loop in linux command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language