teil02 teil11 und teil12
This commit is contained in:
14
teil12/forloop.sh
Normal file
14
teil12/forloop.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#forloop.sh
|
||||
|
||||
#Ausgabe der ungeraden Zahlen bis 10
|
||||
for i in 1 3 5 7 9; do
|
||||
echo "i=${i}"
|
||||
done
|
||||
|
||||
#Ausgabe aller Dateien in /etc
|
||||
|
||||
for d in /etc/*; do
|
||||
echo "${d}"
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user