You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
168 B
15 lines
168 B
4 months ago
|
#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
|
||
|
|
||
|
|