Skip to content

Instantly share code, notes, and snippets.

@Miopas
Last active June 30, 2020 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Miopas/ae7b9dbe8b4f303ed1611043b147b729 to your computer and use it in GitHub Desktop.
Save Miopas/ae7b9dbe8b4f303ed1611043b147b729 to your computer and use it in GitHub Desktop.
shell for loop
total=10
startFrom=0
for ((i=${startFrom}; i<${startFrom}+$total; i++)); do
echo starting $i of $total ...
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment