Run script or command multiple times
Run multiple detached/concurrent scripts or commands For zsh shell:repeat 10 { echo "TEST" && sleep 3 & }For other terminals:
for run in {1..10}; do echo "TEST" && sleep 3 &; doneRun multiple scripts or commands in single thread
repeat 10 { echo "TEST" && sleep 3 }For other terminals:
for run in {1..10}; do echo "TEST" && sleep 3 ; doneNOTE: the "sleep" is used just to showcase the thread or concurrency.