Traps and Signals

In this lesson you will learn what a signal is, how the `kill` command can be used to send signals, and how signals can be trapped. In addition, you'll cover the 'wait' bash builtin, and what a 'process group' is.

How Important is this Lesson?

Traps are an advanced concept. If you’re new to bash you might want to follow this lesson to be aware of it, and apply it as you get more knowledge of Linux or go deeper into bash scripting.

Triggering signals

Any easy way to trigger a signal is one you will likely already have used.

Follow the instructions here:

Get hands-on with 1200+ tech skills courses.