How to suppress Terminated message after killing in bash?

Posted by emergence on Stack Overflow See other posts from Stack Overflow or by emergence
Published on 2008-09-17T09:40:10Z Indexed on 2010/06/01 16:13 UTC
Read the original article Hit count: 141

Filed under:
|
|

How can you suppress the 'Terminated' message that comes up after you kill a process in a bash script?

I tried set +bm, but that doesn't work.

I know another solution involves calling 'exec 2> /dev/null', but is that reliable? How do I reset it back so that I can continue to see stderr?

Thanks

© Stack Overflow or respective owner

Related posts about bash

Related posts about unix