Last Updated: February 25, 2016
·
298
· victorbrca

Use "seq" to print a sequence of numbers with increment

Usage:

seq FIRST INCREMENT LAST

So "seq 0 2 10" will print "0 2 4 6 8 10":

$ seq 0 2 10
0
2
4
6
8
10