Bash Brace Expansion Use increments

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

$ echo {0..10..2}
0 2 4 6 8 10

A third parameter to specify an increment, i.e. {start..end..increment}

Using increments is not constrained to just numbers

$ for c in {a..z..5}; do echo -n $c; done
afkpuz


Got any Bash Question?