Using Trap to Exit Bash Scripts CleanlyMar 12, 2019, 07:00 (0 Talkback[s])
(Other stories by Steven Vona)
In this tutorial we explain how to use the trap bash builtin to exit bash scripts cleanly. We explore example of how to clean up temp file, ensure services stay running and close ports.
0 Talkback[s] (click to add your comment)