CmdID

CmdID / Commands

seq

Count from first to last, by increment. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD

Count from first to last, by increment. Omitted arguments default to 1. Two arguments are used as first and last. Arguments can be negative or floating point.

seq [-w|-f fmt_str] [-s sep_str] [first] [increment] last
-fUse fmt_str as a printf-style floating point format string
-sUse sep_str as separator, default is a newline character
-wPad to equal width with leading zeroes

Several platforms

from tldr-pages, CC BY 4.0

Output a sequence of numbers to stdout.

Print a sequence from 1 to 10

seq 10Identify

Print a sequence from 10 to 20

seq 10 20Identify

Print every 3rd number from 5 to 20

seq 5 3 20Identify

Print a reverse sequence from 10 to 1

seq 10 -1 1Identify

Separate the output with a space instead of a newline

seq --separator " " 5 3 20Identify

Format output width to a minimum of 4 digits padding with zeros as necessary

seq --format "%04g" 5 3 20Identify

Print all numbers with the same width

seq --equal-width 5 3 20Identify