for:
shell_test
1 #!/bin/bash 2 var=1 3 var=$var+1 4 echo $var 5 mkdir only_a_joke
shell_joke
1 #!/bin/bash 2 ./shell_test 3 for((i=1;i<10;i++)); 4 do 5 6 ./shell_test 7 cp ./shell_test ./only_a_joke/ 8 cd only_a_joke 9 done