mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-12 19:52:14 -04:00
more bash examples
This commit is contained in:
parent
68e3f7d899
commit
4b0a965e4a
9 changed files with 199 additions and 0 deletions
11
shell_scripts/lessons/for_loop_example.sh
Normal file
11
shell_scripts/lessons/for_loop_example.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
for p in 1 2 3 4 5
|
||||
do
|
||||
echo $p
|
||||
done
|
||||
|
||||
for p in `seq 6 10`
|
||||
do
|
||||
echo $p
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue