Skip to content

Commit

Permalink
Update loop-creating.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abnerapsley1 authored Aug 14, 2020
1 parent b5c95c4 commit 6d2562c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion loop-creating.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# 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'
done
```

0 comments on commit 6d2562c

Please sign in to comment.