I occasionally run a bash command line like this:
n=0; while [[ $n -lt 10 ]]; do some_command; n=$((n+1)); done
To run some_command>
some_command>
I solved with this loop, where repeat is an integer that represents the loops's number
repeat=10 for n in $(seq $repeat); do command1 command2 done