Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

  • Print
  • + Share This
This chapter is from the book

Summary

In this chapter, you learned how to use functions in shell scripts. Some of the important topics you learned about are

  • Creating functions

  • Invoking functions

  • Using variable scope

  • Function chaining and recursion

  • Return codes from functions

  • Data sharing between functions

In Chapter 21, "Problem Solving with Functions," you will revisit functions and learn how to create a set of functions that can be used in multiple scripts. In the next chapter, you will explore the topic of text filtering.

  • + Share This
  • 🔖 Save To Your Account