I\'m trying a line like this:
for i in {1..600}; do wget http://example.com/search/link $i % 5; done;
What I\'m trying to get as output is:
Try the following:
for i in {1..600}; do echo wget http://example.com/search/link$(($i % 5)); done
The $(( )) syntax does an arithmetic evaluation of the contents.
$(( ))