Monday, February 21, 2011

linux bash for loop

the syntax that i can understand and easily remember is as follows:


for i in {1..1000}; do echo $i; done;

No comments:

Post a Comment