Signals

I recently watched the movie The Bachelor. In the movie, one of the supporting cast playing the character of Margo is driving a limousine. The light changes, and the car in front of them sits there. Margo yells at the driver, “What, not your shade of green?!?” Apparently, in New York there are various shades of signals. The same (sort of) holds true for UNIX/Linux. There are different kinds of signals, but, unlike green traffic lights, the differences do matter.

A signal can occur any time during the execution of a command or script. A signal is an interrupt sent to the command or script that indicates something has happened that requires attention.

Every UNIX/Linux variant has a slightly different set of signals, but the capability they ...

Get Korn Shell Programming by Example 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.