Chapter 10. Using Advanced Functionality in Scripts

In the last chapter, you learned about using functions in Shell scripts and defining, displaying, and removing functions from the shell. You also learned about passing arguments to functions, sharing data between functions, declaring local variables in functions, returning results from functions, and running functions in the background. In the end, you learned about using source and . commands. You used these commands for using a library of functions.

In this chapter, you will learn the following topics:

  • Understanding signals and traps
  • Graphical menu development using the dialog utility

Understanding signals and traps

Two types of interrupts exist in the Linux operating system: the hardware interrupt ...

Get Learning Linux Shell Scripting 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.