for i in {1..10}; do ./test; done for i in $(awk 'BEGIN{for(i=1;i<=5;i++) print i}'); do ./test; done