====== BASH - Loops - For loop ====== The for loop iterates over codes efficiently. #!/bin/bash for (( counter=1; counter<=10; counter++ )) do echo -n "$counter " done printf "\n" **NOTE:** This should print out the numbers 1 to 10.
#!/bin/bash for (( counter=1; counter<=10; counter++ )) do echo -n "$counter " done printf "\n"