In this chapter, you learned about using decision-making in scripts by working with Test, if-else, and switching case. We also learned how to implement simple menus with select.

In the next chapter, you will learn about looping in scripts by working with For, While, and until loops. You will also learn how to control loops using the break statement and continue statement.

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.