Bash script doesn't see SIGHUP? – unix.stackexchange.com

I've got the following script: #!/bin/bash echo "We are $$" trap "echo HUP" SIGHUP cat # wait indefinitely When I send SIGHUP (using kill -HUP pid), nothing happens. If I change the script ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Bash script doesn't see SIGHUP? – unix.stackexchange.com"