Skip to content

Commit a843706

Browse files
authored
Update shell-intro.md
1 parent 4a924c7 commit a843706

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/cs-basics/operating-system/shell-intro.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ done
406406

407407
```shell
408408
#!/bin/bash
409-
for((i=1;i<=5;i++));do
409+
length=5
410+
for((i=1;i<=length;i++));do
410411
echo $i;
411412
done;
412413
```

0 commit comments

Comments
 (0)