diff --git a/IT/Scripting.md b/IT/Scripting.md index ef90322..33aa127 100644 --- a/IT/Scripting.md +++ b/IT/Scripting.md @@ -80,6 +80,10 @@ for THING in $THINGS; do echo "Doing something to $THING" done ``` +The above example iterates over a space separated list of items, but if you wanted to iterate over a range of numbers, you could do something like this: +```bash +for i in {1..10} ; do ... ; done +``` ### While loops