|   | GNU/Linux Desktop Survival Guide by Graham Williams |   | |||
| Iteration in Bash | 
20190903 The following example shows a shorthand for iteration in the shell. The second pair of open and close curly braces are effectively aliases for the do and done commands.
| 
for i in {1..3}; { echo $i; }
1
2
3
 | 
Reference: nixcraft on twitter