$ vim ~/.bashrc

function repeat() {
number=$1
shift
echo $@
for n in $(seq $number); do
$@
done
} $ source ~/.bashrc
$ repeat 5 <COMMAND>
05-11 20:44