Back to Cosmos

Looping Structures in Shell Scripting

code/shell_script/Looping/README.md

latest309 B
Original Source

Looping Structures in Shell Scripting

Loops are used to implement same problem logic multiple times with slight variation. Looping structures provided in Shell Scripts are while loop and for loop.

In Shell, following looping structures are available:

1. For Loop

2. While loop