Explains how to use a Bash for loop control flow statement on Linux / UNIX / *BSD / macOS bash shell with various programming examples.
Poor man's IT automation tool:
# patch 5 CentOS boxes for i in box0{1..5} do ssh user@${i} yum -y update done
# Patch Linode Ubuntu boxes for i in s{1..3} do ssh u@$i apt update && apt -y upgrade done
Keep it simple stupid ;)














