This recipe will show you all the signals and related default actions supported by Linux. We'll also learn why signals are an important concept and what Linux does for a software interrupt.
Learning all of the signals and their default actions
How to do it...
In this section, we'll list all the signals supported by our Linux distribution in order to be able to describe the most common ones in the How it works... section.Â
On a shell, type the following command:
root@fefe04587d4e:/# kill -l
If you run this command on the Docker image of the book, which is based on the Ubuntu version 19.04 distribution, you'll get this output:
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP
6) SIGABRT 7) SIGBUS 8) SIGFPE...