Use trap to Do Cleanup Work When Script Terminates Now I have the script that monitoring the output of several UART devices: more ...