Blog is moving

My blog is moving to http://victormendonca.com/blog/. If you are looking for a specific or older post you are in the right place Otherwise check out my new page for more up to date content.

Monday, March 25, 2013

Bash tips: Use "seq" to print a sequence of numbers with a multiplier

Use "seq" to print a sequence of numbers using a multiplier.

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

victux@asus-linux:/tmp - :) $ seq 0 2 10
0
2
4
6
8
10

No comments: