Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 230 Bytes

File metadata and controls

10 lines (8 loc) · 230 Bytes

Creating Loops in the Shell

This starts i on 0, ends on 10, and adds 1 to each itteration to the value of i. The body of the loop prints the value of i for each itteration.

for ((i=0; i=10; i+=1))
do
	echo ${i}
done