bash:for_loop
This is an old revision of the document!
BASH - For loop
The for loop iterates over codes efficiently.
#!/bin/bash for (( counter=1; counter<=10; counter++ )) do echo -n "$counter " done printf "\n"
This should print out the numbers 1 to 10.
bash/for_loop.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1