Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #linux #run #command #loop
ADD COMMENT
Topic
Name
7+5 =