---

Bash Range: How to iterate over sequences generated on the shell

You can iterate the sequence of numbers in bash by two ways. One is by using seq command and another is by specifying range in for loop. Both seq command and for loop with range are shown in this tutorial by using examples.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis