Linux News
The world is talking about GNU/Linux and Free/Open Source Software
How to modify scripts behavior on signals using bash traps
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.
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.