trap signaling example
added signaling management in bash