bash c like for loop code example
Example: bash c like for loop
#!/bin/bash
# Display message 5 times
for ((i = 0; i < 5; i++)); do
echo "Welcome $i times."
done
#!/bin/bash
# Display message 5 times
for ((i = 0; i < 5; i++)); do
echo "Welcome $i times."
done