Step 1/1: Number sequences

seq 5 prints 1 to 5; seq 2 5 starts at 2; seq 0 10 100 counts in tens. Common in loops such as for i in $(seq 1 10).

$ seq 0 5 50
Beginnerseq
Counting in steps
Use seq to print the numbers from 2 up to 20 in steps of 3.
splitNext lesson:shuf