Table of Contents
Bash
General Syntax
For loops
# List the file names for i in $( ls ); do echo item: $i done # Loop over range of numbers for i in `seq 0 9`; do echo $1 done
# List the file names for i in $( ls ); do echo item: $i done # Loop over range of numbers for i in `seq 0 9`; do echo $1 done