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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.