Summary

In this chapter, you learned about looping in scripts by working with for, while, and until loops. In order to repeat tasks, such as processing lists, you learned about using the for, while and dowhile loop. You also learned how to control loops using the break and continue statements.

In the next chapter, you will learn about writing new functions and calling them, sharing data between functions, passing parameters to functions, and creating a library of functions.

Get Learning Linux Shell Scripting - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.