728x90 반응형 command line2 bash shell for - do loop with awk #] for i in 1 2 3 4 5 6 ; do awk -F " " '/TIME/{print $6, $7, FILENAME}' result${i}.txt >> all_in_one ; done 2014. 6. 27. bash shell for - do loop in command line #] for i in 1 2 3 4 5 6 ; do COMMAND_NAME -p /data/test -d 0 -j ${i} -s 2 -n 1000 > result${i}.txt ; sleep 1 ; done 2014. 6. 27. 이전 1 다음 728x90 반응형