#!/bin/sh
for loop in 1 2 3 4 5 6
do
echo "The value is: $loop"
done
echo "================="
for str in "This is a string"
do
echo $str
done
echo "================="
for FILE in $HOME/.bash*
do
echo $FILE
done
~
#!/bin/sh
for loop in 1 2 3 4 5 6
do
echo "The value is: $loop"
done
echo "================="
for str in "This is a string"
do
echo $str
done
echo "================="
for FILE in $HOME/.bash*
do
echo $FILE
done
~