seq

The command that prints a sequence of numbers, one per line, such as seq 1 5.

In more detail

It is a quick source of test input for pipelines. In bash, brace expansion such as {1..5} does the same without starting a program.

Example

seq 1 2000000 | head -3

Related terms

Taught in

References

Certification courses