~/seq(1) en

SEQ(1)General Commands ManualSEQ(1)

NAME

seq - count

SYNOPSIS

seq [first [step]] last

DESCRIPTION

Prints the numbers from one to another, one per line. What it is for is the last example: a for loop needs a list of words, and this is how you make one out of a count.

It stops after a thousand numbers, because this is a browser tab.

EXAMPLES

seq 5

seq 2 10

seq 10 -2 0

for i in $(seq 3); do echo line $i; done

SEE ALSO

sh(1), echo(1)

tilenkoren.com2026SEQ(1)