Tsallaka zuwa abun ciki
Justice Tech School

Sequences with seq and braces

seq prints numbers and braces make lists and ranges.

Example
seq 1 3
seq 0 5 10
echo {a..e}
echo {01..03}

Result

1
2
3
0
5
10
a b c d e
01 02 03

Exercise

Number sequence.

 1 5

Quiz Test

What does {a..c} expand to?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.