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
Written by Victor Mendonca
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#bash
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#