Linux Today: Linux News On Internet Time.

More on LinuxToday

How to modify scripts behavior on signals using bash traps

Oct 25, 2017, 10:00 (0 Talkback[s])
(Other stories by Egidio Docile)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

When writing scripts that are meant to run for a considerable time, it's very important to increase their robustness by making them able to react to system signals, executing specific actions when some of them are received. We can accomplish this task by using the bash trap builtin.

Complete Story