Useful for things like burn tests.
In bash, this can be done with:
for i in {1..10}; do commandNameHere; done
zsh has the repeat command:
repeat
repeat 5 { echo "Command1"; echo "Command2" }
[[shell]]