#!/bin/bash ite=1000 command="numactl --cpunodebind=0 ./main 8" for ((i=0;i<=$ite;i+=1)); do $command done