Shell for-loop
A for loop that iterates through a sequence. A common example of this is to iterate through words in in a string, for example: for i in $( ls ); do echo item: $i done
Authored by: Mike Gvariable
sequence
command
Command
Copy
for variable in sequence; do
command
done
Tags
Edit in GitHub
Copied