Answers 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
0

how to use for loop in linux command line

for i in `seq 1 10`; do echo $i; done
Posted by: Guest on June-04-2021

Code answers related to "loop in linux command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language