Module-12-How to use trap statement in bash scripts
Table of contents Introduction Bash scripts have a special feature called trap to execute a code block based on the signals received. Processes in linux machines can receive variety of signals like SIGINT , SIGTERM , SIGQUIT, SIGSEGV , etc To view different possible Signals sent to a process with their code number , we …
Module-12-How to use trap statement in bash scripts Read More »